u-boot: set B directory for imx5's
PATCH 1/1 u-boot: set B directory for imx5's
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.
--- recipes-bsp/u-boot/u-boot-fslc-common_2019.07.inc | 1 + 1 file changed, 1 insertion(+)
recipes-bsp/u-boot/u-boot-fslc-common_2019.07.inc +1 -0
@@ -16,3 +16,4 @@ SRCBRANCH = "2019.07+fslc" PV = "v2019.07+git${SRCPV}" S = "${WORKDIR}/git" +B_mx5 = "${WORKDIR}/build"
Signature · 1 line
2.25.0.114.g5b0ca878e0
Quoted 8 lines · Trevor Woerner
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 <[email protected]>
Which branch did you use?
Signature · 3 lines
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
Hi Otavio,
Quoted 11 lines · Otavio Salvador
Quoted 8 lines · Trevor Woerner
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 <[email protected]>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"Quoted 61 lines · Trevor Woerner
Quoted 11 lines · Otavio Salvador
Quoted 8 lines · Trevor Woerner
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 <[email protected]>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 \
Quoted 8 lines
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.
Signature · 3 lines
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
Quoted 6 lines · Otavio Salvador
Quoted 5 lines · Trevor Woerner
Quoted 4 lines · Otavio Salvador
Quoted 3 lines · Trevor Woerner
The imx5* machines need separate S and B directories to build u-boot-fslc otherwise the build fails with:
Quoted 7 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
| 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 <[email protected]>Please open an issue on github?
Okay.
Quoted 2 lines
IIRC, we are using different build directories for S and B so I am wondering why it is failing.
This is what I'm getting:
$ bitbake virtual/bootloader -e | grep "^B=" B="/z/build-master/meta-freescale/build/tmp-glibc/work/imx53qsb-oe-linux-gnueabi/u-boot-fslc/v2019.07+gitAUTOINC+ca0ab15271-r0/git" $ bitbake virtual/bootloader -e | grep "^S=" S="/z/build-master/meta-freescale/build/tmp-glibc/work/imx53qsb-oe-linux-gnueabi/u-boot-fslc/v2019.07+gitAUTOINC+ca0ab15271-r0/git"