[meta-freescale] [PATCH v2] u-boot-fslc: Add bison-native dependency for 2018.07

Daiane Angolini daiane.angolini at nxp.com
Thu Aug 23 06:43:10 PDT 2018


The u-boot-fslc now depends on bison to complete the build.

This patch fixes the following error message:

| rm -f .tmp_quiet_recordmcount
| make -f
/home/daiane/code/yocto/master/build/tmp/work/imx7dsabresd-fslc-linux-gnueabi/u-boot-fslc/v2018.07+gitAUTOINC+bc558729a7-r0/git/scripts/Makefile.build
obj=scripts/kconfig mx7dsabresd_config
|   bison -oscripts/kconfig/zconf.tab.c -t -l
/home/daiane/code/yocto/master/build/tmp/work/imx7dsabresd-fslc-linux-gnueabi/u-boot-fslc/v2018.07+gitAUTOINC+bc558729a7-r0/git/scripts/kconfig/zconf.y
| /bin/sh: 1: bison: not found
| scripts/Makefile.lib:228: recipe for target
'scripts/kconfig/zconf.tab.c' failed
| make[2]: *** [scripts/kconfig/zconf.tab.c] Error 12

Signed-off-by: Daiane Angolini <daiane.angolini at nxp.com>
---
 recipes-bsp/u-boot/u-boot-fslc_2018.07.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/u-boot/u-boot-fslc_2018.07.bb b/recipes-bsp/u-boot/u-boot-fslc_2018.07.bb
index 5659e16c..6c391ad3 100644
--- a/recipes-bsp/u-boot/u-boot-fslc_2018.07.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc_2018.07.bb
@@ -6,7 +6,7 @@ order to provide support for some backported features and fixes, or because it \
 was submitted for revision and it takes some time to become part of a stable \
 version, or because it is not applicable for upstreaming."
 
-DEPENDS_append = " dtc-native"
+DEPENDS_append = " dtc-native bison-native"
 
 PROVIDES += "u-boot"
 
-- 
2.11.0



More information about the meta-freescale mailing list