I have created a custom layer as meta-examplelayer. In that layer, I want to compile my application and generate image for ls1043ardb using bitbake command
Following is my .bb file
DESCRIPTION = "My application"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://main.c \
file://header.h \
file://structures.h \
file://terminalMode.h \
file://microblaze.h \
file://Makefile \
"
CLEANBROKEN = "1"
S = "${WORKDIR}"
do_compile() {
oe_runmake
}
do_install() {
install -d ${D}${bindir}
install -m 0755 main ${D}${bindir}
}
I am getting the following error while bitbake main
ERROR: main-1.0-r0 do_compile: oe_runmake failed
ERROR: main-1.0-r0 do_compile: ExecutionError('/home/icomm/distro/build_ls1043ardb/tmp/work/aarch64-fsl-linux/main/1.0-r0/temp/run.do_compile.59027', 1, None, None)
ERROR: Logfile of failure stored in: /home/icomm/distro/build_ls1043ardb/tmp/work/aarch64-fsl-linux/main/1.0-r0/temp/log.do_compile.59027
ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/icomm/distro/sources/meta-examplelayer/recipes-example/HS_NW/main.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 730 tasks of which 722 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/icomm/distro/sources/meta-examplelayer/recipes-example/HS_NW/main.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.
I have attached the tree of my lmeta-examplelayer and my Makefile
How can I change my .bb file to solve this error.
Please help me out