Skip to contentSkip to conversation

boot/uboot: fix compilation with PER_PACKAGE_DIRECTORIES enable

PATCH New Nicolas Toromanoff 3 participants 3 messages Mar 10, 2021 – Mar 20, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boot/uboot: fix compilation with PER_PACKAGE_DIRECTORIES enable

If PER_PACKAGE_DIRECTORIES=Y and using host-make package
(because BR2_FORCE_HOST_BUILD=Y or local make is too old)
.stamp_dotconfig target needs per-package/uboot/host/bin/host-make that doesn't exist yet. Add host-make into UBOOT_KCONFIG_DEPENDENCIES.

---
 boot/uboot/uboot.mk | 1 +
 1 file changed, 1 insertion(+)
boot/uboot/uboot.mk +1 -0
index bb4598002252..dbe82e65b17e 100644
@@ -498,6 +498,7 @@ $(eval $(generic-package))
 else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y)
 UBOOT_MAKE_ENV = $(TARGET_MAKE_ENV)
 UBOOT_KCONFIG_DEPENDENCIES = \
+	$(BR2_MAKE_HOST_DEPENDENCY) \
 	$(BR2_BISON_HOST_DEPENDENCY) \
 	$(BR2_FLEX_HOST_DEPENDENCY)
 $(eval $(kconfig-package))
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 boot/uboot: fix compilation with PER_PACKAGE_DIRECTORIES enable

Nicolas, All,

On 2021-03-10 17:16 +0100, Nicolas Toromanoff spake thusly:

Quoted 4 lines

If PER_PACKAGE_DIRECTORIES=Y and using host-make package
(because BR2_FORCE_HOST_BUILD=Y or local make is too old)
.stamp_dotconfig target needs per-package/uboot/host/bin/host-make that doesn't exist yet. Add host-make into UBOOT_KCONFIG_DEPENDENCIES.

At first, I was a bit confused because BR2_MAKE_HOST_DEPENDENCY is already a dependency of uboot... So I slightly rephrased the commit title to emphasize that this is related to the kconfig dependencies.

Quoted 1 line

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 boot/uboot/uboot.mk | 1 +
 1 file changed, 1 insertion(+)
boot/uboot/uboot.mk +1 -0
index bb4598002252..dbe82e65b17e 100644
@@ -498,6 +498,7 @@ $(eval $(generic-package))
 else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y)
 UBOOT_MAKE_ENV = $(TARGET_MAKE_ENV)
 UBOOT_KCONFIG_DEPENDENCIES = \
+	$(BR2_MAKE_HOST_DEPENDENCY) \
 	$(BR2_BISON_HOST_DEPENDENCY) \
 	$(BR2_FLEX_HOST_DEPENDENCY)
 $(eval $(kconfig-package))
Signature · 6 lines
2.17.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 boot/uboot: fix compilation with PER_PACKAGE_DIRECTORIES enable

In reply to Nicolas Toromanoff
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Nicolas" == Nicolas Toromanoff <[email protected]> writes:

If PER_PACKAGE_DIRECTORIES=Y and using host-make package
(because BR2_FORCE_HOST_BUILD=Y or local make is too old)
.stamp_dotconfig target needs per-package/uboot/host/bin/host-make that doesn't exist yet. Add host-make into UBOOT_KCONFIG_DEPENDENCIES.

Committed to 2020.02.x, 2020.11.x and 2021.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard