Hii,
I am using UBUNTU_20.04_FLEXBUILD_YOCTO_TINY
initially i have created a hello.c file and using cross compiled it generates the object file. later i copied this object file into the path: home/icomm/distro/build-ls1043ardb/sources/meta-freescale/recipes-extended/merge-files/merge-files/merge.
Changed the fsl-image-mfgtool.bb to include the merge-files
LICENSE = "MIT"
IMAGE_INSTALL:append = " \
packagegroup-core-ssh-dropbear \
packagegroup-fsl-mfgtools \
udev-extraconf \
file \
parted \
lmsensors-sensors \
restool \
fmc \
sudo \
curl \
merge-files \
"
IMAGE_INSTALL:remove:ls1021atwr = "restool"
PACKAGE_EXCLUDE = "kernel-image-*"
export IMAGE_BASENAME = "fsl-image-mfgtool"
IMAGE_ROOTFS_EXTRA_SPACE = "262144"
In the bb file following script is present
DESCRIPTION = "Merge prebuilt/extra files into rootfs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit allarch
SRC_URI = "file://merge"
S = "${WORKDIR}"
MERGED_DST ?= "${ROOT_HOME}"
do_install () {
install -d ${D}/${MERGED_DST}
find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -not -name README \
-exec cp -fr '{}' ${D}/${MERGED_DST}/ \;
find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -exec rm -fr '{}' \;
}
do_configure[noexec] = "1"
do_compile[noexec] = "1"
FILES:${PN} = "/*"
ALLOW_EMPTY:${PN} = "1"
INSANE_SKIP:${PN} = "debug-files dev-so"
later i have run the command : bitbake fsl-image-mfgtool
i am getting following error:
Loaded 4803 entries from dependency cache.
ERROR: ParseError at /home/icomm/distro/sources/meta-freescale/recipes-extended/merge-files/merge-files_1.0.bb:5: Could not inherit file classes/arch64.bbclass
ERROR: Parsing halted due to errors, see error messages above
Summary: There were 2 ERROR messages, returning a non-zero exit code.
please any one help me to resolve this issue