u-boot: Move B from u-boot.inc to u-boot-common.inc
PATCH 1/1 u-boot: Move B from u-boot.inc to u-boot-common.inc
Use the same value of B between u-boot and u-boot-fw-utils. This patch also enable the out-of-tree builds of u-boot-fw-utils actually.
--- meta/recipes-bsp/u-boot/u-boot-common.inc | 1 + meta/recipes-bsp/u-boot/u-boot.inc | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-)
meta/recipes-bsp/u-boot/u-boot-common.inc +1 -0
@@ -21,3 +21,4 @@ SRC_URI = "git://git.denx.de/u-boot.git \ " S = "${WORKDIR}/git" +B = "${WORKDIR}/build"
meta/recipes-bsp/u-boot/u-boot.inc +0 -2
@@ -1,8 +1,6 @@ SUMMARY = "Universal Boot Loader for embedded devices" PROVIDES = "virtual/bootloader" -B = "${WORKDIR}/build" - PACKAGE_ARCH = "${MACHINE_ARCH}" DEPENDS += "kern-tools-native"
Signature · 1 line
2.7.4
Quoted 2 lines · Daisuke Yamane
Use the same value of B between u-boot and u-boot-fw-utils. This patch also enable the out-of-tree builds of u-boot-fw-utils actually.
Breaks the build here:
u-boot-fw-utils:
cp/home/pokybuild/yocto-worker/no-x11/build/build/tmp/work/qemux86_64-poky-linux/u-boot-fw-utils/1_2020.01~rc3-r0/git/include/version.h tools/version.h
cp: cannot create regular file 'tools/version.h': No such file or directory
u-boot-tools:
DEBUG: Executing shell function do_compile
| NOTE: make -j 16 [...] sandbox_defconfig
| make: *** No rule to make target 'sandbox_defconfig'. Stop.
Ross
Oh.. sorry for a bad patch.
I'll resend patch-set that fixes those errors.
2019年12月18日(水) 0:57 Ross Burton <[email protected]>:
Quoted 6 lines
u-boot-fw-utils:
cp
/home/pokybuild/yocto-worker/no-x11/build/build/tmp/work/qemux86_64-poky-linux/u-boot-fw-utils/1_2020.01~rc3-r0/git/include/version.htools/version.h
cp: cannot create regular file 'tools/version.h': No such file or directory
In upstream, this error has already fixed[1], so I'll backport it.
[1]: https://gitlab.denx.de/u-boot/u-boot/commit/fb013eee68d08403572ef3c579f6688bbe33fd47