Re: [PATCH] u-boot: set B directory for imx5's


Otavio Salvador
 

On Tue, Feb 11, 2020 at 12:12 PM Trevor Woerner <twoerner@...> wrote:
On Tue 2020-02-11 @ 10:47:46 AM, Otavio Salvador wrote:
On Mon, Feb 10, 2020 at 8:14 PM Trevor Woerner <twoerner@...> wrote:
The imx5* machines need separate S and B directories to build u-boot-fslc
otherwise the build fails with:

| make[1]: *** No rule to make target '/z/build-master/meta-freescale/build/tmp-glibc/work/imx53qsb-oe-linux-gnueabi/u-boot-fslc/v2019.07+gitAUTOINC+ca0ab15271-r0/git/arch//cpu/u-boot.lds', needed by 'u-boot.lds'. Stop.

Build-tested with imx51evk, imx53ard, and imx53qsb.

Signed-off-by: Trevor Woerner <twoerner@...>
Which branch did you use?
Master on everything:

Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "opensuseleap-15.1"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "imx53qsb"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-freescale = "master:9227f4c9e6d77d3fa15f67d178ba9da02c5550fe"
meta = "master:44a4ac2294da0f53cbbfabc7ece836fe97f4d3f7"

https://git.yoctoproject.org/git/meta-freescale
git://git.openembedded.org/openembedded-core.git

conf/bblayers.conf:

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "7"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
/opt/oe/configs/z/build-master/meta-freescale/layers/meta-freescale \
/opt/oe/configs/z/build-master/meta-freescale/layers/openembedded-core/meta \
"

conf/local.conf:

ACCEPT_FSL_EULA = "1"
MACHINE = "imx53qsb"
DISTRO = "nodistro"
DL_DIR = "/opt/Downloads"

PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE ?= "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl2-native"
CONF_VERSION = "1"
Please open an issue on github?

IIRC, we are using different build directories for S and B so I am
wondering why it is failing.


--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.