diff options
author | Daisuke Yamane <yamane07ynct@gmail.com> | 2020-01-23 10:33:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-27 16:48:09 +0000 |
commit | dd2f172fe18439e113c51a81ebf18916038c42bd (patch) | |
tree | 974afb1f0b83ea82537fcc4bee31050088f07ae7 /meta/recipes-bsp | |
parent | e223f7cbb11079662ea7786b259d4d9c4e5b23fc (diff) | |
download | poky-dd2f172fe18439e113c51a81ebf18916038c42bd.tar.gz |
u-boot-tools: Add capability of building from out-of-tree
This patch also helps to build with EXTERNALSRC.
(From OE-Core rev: 8bd7a19b0177cc842d0fabfb9a602208c0617d9e)
Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-tools_2020.01.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-tools_2020.01.bb b/meta/recipes-bsp/u-boot/u-boot-tools_2020.01.bb index bede984ef7..414ee333ff 100644 --- a/meta/recipes-bsp/u-boot/u-boot-tools_2020.01.bb +++ b/meta/recipes-bsp/u-boot/u-boot-tools_2020.01.bb | |||
@@ -25,14 +25,14 @@ SED_CONFIG_EFI_armeb = '' | |||
25 | SED_CONFIG_EFI_aarch64 = '' | 25 | SED_CONFIG_EFI_aarch64 = '' |
26 | 26 | ||
27 | do_compile () { | 27 | do_compile () { |
28 | oe_runmake sandbox_defconfig | 28 | oe_runmake -C ${S} sandbox_defconfig O=${B} |
29 | 29 | ||
30 | # Disable CONFIG_CMD_LICENSE, license.h is not used by tools and | 30 | # Disable CONFIG_CMD_LICENSE, license.h is not used by tools and |
31 | # generating it requires bin2header tool, which for target build | 31 | # generating it requires bin2header tool, which for target build |
32 | # is built with target tools and thus cannot be executed on host. | 32 | # is built with target tools and thus cannot be executed on host. |
33 | sed -i -e "s/CONFIG_CMD_LICENSE=.*/# CONFIG_CMD_LICENSE is not set/" ${SED_CONFIG_EFI} .config | 33 | sed -i -e "s/CONFIG_CMD_LICENSE=.*/# CONFIG_CMD_LICENSE is not set/" ${SED_CONFIG_EFI} ${B}/.config |
34 | 34 | ||
35 | oe_runmake cross_tools NO_SDL=1 | 35 | oe_runmake -C ${S} cross_tools NO_SDL=1 O=${B} |
36 | } | 36 | } |
37 | 37 | ||
38 | do_install () { | 38 | do_install () { |