cpiofs支持通过ls命令查看

This commit is contained in:
zhangzheng
2023-12-11 23:09:18 +08:00
parent 1465dc2971
commit bce83c3682
7 changed files with 161 additions and 22 deletions

View File

@@ -5,7 +5,7 @@ add_custom_target(
COMMAND
cd ${CMAKE_SOURCE_DIR}/build/output/cpio
COMMAND
ls | cpio -H newc -o > ${CMAKE_SOURCE_DIR}/build/output/rootfs.cpio
find ./ -print | cpio -H newc -o > ${CMAKE_SOURCE_DIR}/build/output/rootfs.cpio
COMMAND
srec_cat -output ${CMAKE_SOURCE_DIR}/build/output/kernel.img -binary
${CMAKE_SOURCE_DIR}/build/output/bootstrap -binary -offset 0x0