Hi,
I am building MPC8548CDS_20071214-ltib.iso on Centos 7 x86_64
The build is successful and everything is good.
However, I want to compile one of my programs and add the binary in `/sbin` folder in the rootfs . I want to add this at build time.
my app has only one file and I cross-compiled following steps:
powerpc-linux-gnuspe-gcc hello_world.c -o hello_world
Currently, I am mounting the rootfs and manually copying the cross-compiled binary (hello_world) in the `/sbin` folder.
Is there any standard way to do this change before the ltib build so that I don't have to mount it and copy it manually after the build?
Best Regards
Solved! Go to Solution.
You could put your file in folder config/platform/mpc8548cds/merge/, then your file will be merged into rootfs after building.
In folder config/platform/mpc8548cds/merge/ you could create "sbin" folder, then put your file in sbin folder.
You could put your file in folder config/platform/mpc8548cds/merge/, then your file will be merged into rootfs after building.
In folder config/platform/mpc8548cds/merge/ you could create "sbin" folder, then put your file in sbin folder.
Thanks that worked