aspeed: u-boot: Add dependencies on flex/bison
Backport oe-core 71309a5c91209d4afaee874889fa7eefb266185f to our
recipes:
u-boot: Add missing dependency on flex and bison native
The U-Boot build, in particular the Kconfig, depends on bison and
flex native. Add the missing dependencies.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Change-Id: I2ee8f32fc7185d83b5bef5ee2e692911c6dc9d94
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/recipes-bsp/u-boot/u-boot-common-aspeed_2016.07.inc b/recipes-bsp/u-boot/u-boot-common-aspeed_2016.07.inc
index e92ba87..16a2e9c 100644
--- a/recipes-bsp/u-boot/u-boot-common-aspeed_2016.07.inc
+++ b/recipes-bsp/u-boot/u-boot-common-aspeed_2016.07.inc
@@ -1,5 +1,6 @@
HOMEPAGE = "https://github.com/openbmc/u-boot"
SECTION = "bootloaders"
+DEPENDS += "flex-native bison-native"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
diff --git a/recipes-bsp/u-boot/u-boot-fw-utils-aspeed_2016.07.bb b/recipes-bsp/u-boot/u-boot-fw-utils-aspeed_2016.07.bb
index 713133c..e9f724d 100644
--- a/recipes-bsp/u-boot/u-boot-fw-utils-aspeed_2016.07.bb
+++ b/recipes-bsp/u-boot/u-boot-fw-utils-aspeed_2016.07.bb
@@ -5,7 +5,7 @@
SRC_URI += "file://alt_fw_env.config"
SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities"
-DEPENDS = "mtd-utils"
+DEPENDS += "mtd-utils"
PROVIDES += "u-boot-fw-utils"