Skip to contentSkip to conversation

boot/barebox: needs host-{flex,bison}

PATCH New Marcin Niestroj 3 participants 3 messages Jul 2, 2019 – Jul 7, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boot/barebox: needs host-{flex,bison}

Barebox starting from 2019.02 no longer ships flex/bison generated parser. Add conditional kconfig dependencies, same as we did for kernel and uboot.

---
 boot/barebox/barebox.mk | 4 ++++
 1 file changed, 4 insertions(+)
boot/barebox/barebox.mk +4 -0
index 9e8a9f67b5..52178d89c8 100644
@@ -76,6 +76,10 @@ $(1)_KCONFIG_FRAGMENT_FILES = $$(call qstrip,$$(BR2_TARGET_$(1)_CONFIG_FRAGMENT_
 $(1)_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig
 $(1)_KCONFIG_OPTS = $$($(1)_MAKE_FLAGS)
 
+$(1)_KCONFIG_DEPENDENCIES = \
+	$(BR2_BISON_HOST_DEPENDENCY) \
+	$(BR2_FLEX_HOST_DEPENDENCY)
+
 ifeq ($$(BR2_TARGET_$(1)_BAREBOXENV),y)
 define $(1)_BUILD_BAREBOXENV_CMDS
 	$$(TARGET_CC) $$(TARGET_CFLAGS) $$(TARGET_LDFLAGS) -o $$(@D)/bareboxenv \
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 boot/barebox: needs host-{flex,bison}

Quoted 5 lines · Marcin Niestroj

Barebox starting from 2019.02 no longer ships flex/bison generated parser. Add conditional kconfig dependencies, same as we did for kernel and uboot.

Applied to master, thanks.

Regards,
Arnout

Quoted 20 lines
---
 boot/barebox/barebox.mk | 4 ++++
 1 file changed, 4 insertions(+)
boot/barebox/barebox.mk +4 -0
index 9e8a9f67b5..52178d89c8 100644
@@ -76,6 +76,10 @@ $(1)_KCONFIG_FRAGMENT_FILES = $$(call qstrip,$$(BR2_TARGET_$(1)_CONFIG_FRAGMENT_
 $(1)_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig
 $(1)_KCONFIG_OPTS = $$($(1)_MAKE_FLAGS)
 
+$(1)_KCONFIG_DEPENDENCIES = \
+	$(BR2_BISON_HOST_DEPENDENCY) \
+	$(BR2_FLEX_HOST_DEPENDENCY)
+
 ifeq ($$(BR2_TARGET_$(1)_BAREBOXENV),y)
 define $(1)_BUILD_BAREBOXENV_CMDS
 	$$(TARGET_CC) $$(TARGET_CFLAGS) $$(TARGET_LDFLAGS) -o $$(@D)/bareboxenv \
#2 lore raw

PATCH 1/1 boot/barebox: needs host-{flex,bison}

In reply to Marcin Niestroj
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Marcin" == Marcin Niestroj <[email protected]> writes:

Barebox starting from 2019.02 no longer ships flex/bison generated parser. Add conditional kconfig dependencies, same as we did for kernel and uboot.

Committed to 2019.02.x and 2019.05.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard