]> code.ossystems Code Review - openembedded-core.git/commitdiff
make-mod-scripts: Depends on bison-native
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 20 Jun 2019 08:15:24 +0000 (16:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Jun 2019 23:26:09 +0000 (00:26 +0100)
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.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb

index 97c58c5233112205970651fccaa850ac6ba36bec..460e05a44506d9bd10a5f0ad5da0bdba99c5132c 100644 (file)
@@ -12,7 +12,7 @@ S = "${WORKDIR}"
 do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot"
 do_compile[depends] += "virtual/kernel:do_compile_kernelmodules"
 
-DEPENDS += "bc-native"
+DEPENDS += "bc-native bison-native"
 
 EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}""