diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-06-20 16:15:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-21 00:33:23 +0100 |
commit | ce107dc8af50b1092a98a985757f672dfcec58e4 (patch) | |
tree | 64e428f11aa43f21fda6998ecb5b2b30dad22867 | |
parent | c7e7b81143e1856259fa675fb7c065b5b42c47f4 (diff) | |
download | poky-ce107dc8af50b1092a98a985757f672dfcec58e4.tar.gz |
make-mod-scripts: Depends on bison-native
Fixed do_configure error when use linux-dummy:
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
/bin/sh: bison: command not found
Build make-mod-scripts doesn't make sense when use linux-dummy, but it breaks
"bitbake world", so add bison-native to DEPENDS to fix the problem.
(From OE-Core rev: 4301d533512669834282a6ba43ae8e266a79fe22)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb index 97c58c5233..460e05a445 100644 --- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb +++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | |||
@@ -12,7 +12,7 @@ S = "${WORKDIR}" | |||
12 | do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot" | 12 | do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot" |
13 | do_compile[depends] += "virtual/kernel:do_compile_kernelmodules" | 13 | do_compile[depends] += "virtual/kernel:do_compile_kernelmodules" |
14 | 14 | ||
15 | DEPENDS += "bc-native" | 15 | DEPENDS += "bc-native bison-native" |
16 | 16 | ||
17 | EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"" | 17 | EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"" |
18 | 18 | ||