Tool/software:
Hi All,
Andreas Dannenberg, Frank Walzer, Bin Liu,
We have created our own applications.. But we are faced compilations issues below is the error,
Custom application custom.bb as below,
do_clean_core_app() {
cd ${S}
echo `pwd`
make clean VERBOSE=1
}
addtask clean_core_app before do_clean
do_fetch[noexec] = "1"
do_unpack[noexec] = "1"
do_compile() {
echo `pwd`
make APP=${APL} ARCH=arm SYSROOT=${TMPDIR}/sysroots/${MACHINE} VERBOSE=1 OUTDIR=${BUILD_DIR} ${PARALLEL_MAKE}
}
do_install() {
install -d ${BIN_DIR}
make ARCH=arm install VERBOSE=1 OUTDIR=${BUILD_DIR} INSTALL_PREFIX=${SEM3_DIR}
mkdir -p ${D}${libdir}
cp -R ${LIB_DIR}/* ${D}${libdir}
rm -rf ${SEM3_LIB_DIR}
mkdir -p ${D}/www/pages/
cp -r ${CNFG_DIR}/WebPages/* ${D}/www/pages/
rm -rf ${CNFG_DIR}/WebPages
cp ${CRYPTO_PATH}/public_key.bin ${CNFG_DIR}
}
FILES_${PN} += "/www /www/pages /lib"
We have declared LIB_DIR,CNFG_DIR,BIN_DIR as per our requirement.
when we compile "bitbake custom"
Below is the error,
WARNING: Recipe core-app sets B variable with trailing slash '/home/sem3user/41024/COM/application/', remove it
ERROR: custom-1.0-r0 do_package: QA Issue: core-app: Files/directories were installed but not shipped in any package:
/www
/www/pages
/www/pages/SDCardInformation.html
/www/pages/GetActiveMeter.Json
/www/pages/CloudConfiguration.html
/www/pages/GetPoleConfigParams.Json
/www/pages/GetSDCardDetails.json
/www/pages/SendLog.json
/usr/sem3/bin/custom
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
core-app: 2958 installed and not shipped files. [installed-vs-shipped]
ERROR: custom-1.0-r0 do_package: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/sem3user/41024/COM/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/core-app/1.0-r0/temp/log.do_package.2616332
ERROR: Task (/home/sem3user/41024/COM/sources/meta-sem3t/recipes-core/app/core-app.bb:do_package) failed with exit code '1'
Pseudo log:
Please provide direction to fix the above error.. whai am i missing.