January 2018
Intermediate to advanced
456 pages
12h 49m
English
When the application is being built by the Yocto build system, we use this workflow to debug sporadic problems. However, this is not the recommended workflow for long developments. We will use the helloworld_1.0.bb custom recipe we saw back in the Adding new packages recipe in Chapter 3, The Software Layer, meta-custom/recipes-example/helloworld/helloworld_1.0.bb, as an example. The following recipe should already be in your meta-custom layer:
DESCRIPTION = "Simple helloworld application"
SECTION = "examples"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4 f302" SRC_URI = "file://helloworld.c" S = "${WORKDIR}" do_compile() { ${CC} ${LDFLAGS} helloworld.c ...Read now
Unlock full access