I am trying to build my own customized rootfs using Yocto. I created a custom executable of Helloworld using extracted toolchain from SDK using command powerpc-fsl-linux-gcc --sysroot=$SDKTARGETSYSROOT helloworld.c.
Now as instructed in several discussions I included the executable in mergefile folder in source files. And added IMAGE_INSTALL += "merge-files" in the recipe file.
However when I try to compile the image using bitbake I get the following error:
ERROR: QA Issue: merge-files: Recipe inherits the allarch class, but has packaged architecture-specific binaries [arch]
WARNING: QA Issue: /home/root/a.out_merge-files contained in package merge-files requires libc.so.6(GLIBC_2.4), but no providers found in its RDEPENDS [file-rdeps]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/architech/QoRIQ_SDK/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/all-fsl-linux/merge-files/1.0-r0/temp/log.do_package_qa.22548
ERROR: Task 371 (/home/architech/QoRIQ_SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-extended/merge-files/merge-files_1.0.bb, do_package_qa) failed with exit code '1'