]> code.ossystems Code Review - openembedded-core.git/commitdiff
u-boot: Move B from u-boot.inc to u-boot-common.inc
authorDaisuke Yamane <yamane07ynct@gmail.com>
Thu, 23 Jan 2020 10:33:33 +0000 (10:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jan 2020 16:38:54 +0000 (16:38 +0000)
Use the same value of B between u-boot and u-boot-tools.
This patch also enable the out-of-tree builds of u-boot-tools actually.

Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/u-boot/u-boot-common.inc
meta/recipes-bsp/u-boot/u-boot.inc

index ce07055f878c0fefe31028d7e03cc4922ed253be..edd0004792e61b6ff26323d1b46c7ad4ecec77e5 100644 (file)
@@ -18,3 +18,5 @@ SRC_URI = "git://git.denx.de/u-boot.git \
           "
 
 S = "${WORKDIR}/git"
+B = "${WORKDIR}/build"
+do_configure[cleandirs] = "${B}"
index 55d8b478701c6f576f4f76a328c91a377fcc2e39..ec777628c58bfe88c153c902aab4fd1a6e908738 100644 (file)
@@ -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"