Hi,
I added a new script into my recipe busybox, so the new file is a C file I had to use:
do_compile() {
${CC} ${WORKDIR}/myscript.c -o ${WORKDIR}/myscript
}
then
do_install_append() {
}
After I finish everything and bake again I got this error says:
sed: can't read busybox.links*: No such file or directory
Is because I need to reconfigure the busybox to add the C output file?
If so how to make my busybox realizes my changes.
解決済! 解決策の投稿を見る。
Hello Elias Bitbaker,
Do you use Yocto SDK? Would you please attach you recipe file and C file myscript.c?
Please refer to the following
Q: How do I add a pre-built binary into the rootfs?
A: Do the following:
1. $ cd <sdk-install-dir>.
2. Add the files:
• $ cd sources/meta-freescale/recipes-extended/merge-files
• Put the files into files/merge, e.g. put bash into files/merge/, bash will be included in /home/root/ of the new rootfs.
3. Build new rootfs image:
• $ bitbake <rootfs-target>
Thanks,
Yiping
Hello Elias Bitbaker,
Do you use Yocto SDK? Would you please attach you recipe file and C file myscript.c?
Please refer to the following
Q: How do I add a pre-built binary into the rootfs?
A: Do the following:
1. $ cd <sdk-install-dir>.
2. Add the files:
• $ cd sources/meta-freescale/recipes-extended/merge-files
• Put the files into files/merge, e.g. put bash into files/merge/, bash will be included in /home/root/ of the new rootfs.
3. Build new rootfs image:
• $ bitbake <rootfs-target>
Thanks,
Yiping