aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marcin Niestroj <m.niestroj@grinn-global.com>2019-07-02 22:13:41 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-07-07 08:41:15 +0200
commit769ce63723a33c48ab4b5d22ad7a22abde699735 (patch)
treec2dfbcdd9216fdd45ad70a046a21895eb1683dee
parent259d203f5a2867c6a6f8b9888166ea2ff6c60d9b (diff)
downloadbuildroot-769ce63723a33c48ab4b5d22ad7a22abde699735.tar.gz
buildroot-769ce63723a33c48ab4b5d22ad7a22abde699735.tar.bz2
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. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit e7d8d9a765b61f0c464abea37a9568c1ae7a25c0) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--boot/barebox/barebox.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk
index 9e8a9f67b5..52178d89c8 100644
--- a/boot/barebox/barebox.mk
+++ b/boot/barebox/barebox.mk
@@ -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 \