]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
bc: extend to nativesdk
authorChen Qi <Qi.Chen@windriver.com>
Thu, 1 Dec 2022 03:56:31 +0000 (19:56 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Dec 2022 23:04:57 +0000 (23:04 +0000)
bc is needed for compiling kernel modules, more specifially
whenr running `make scripts prepare'.

In linux-yocto.inc, we have bc-native in DEPENDS. But we will
need nativesdk-bc in case we compile a kernel module inside
SDK.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 95b5c89066baccb1e64bfba7d9a66feeeb086da9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/bc/bc_1.07.1.bb

index 1bec76bb2aaeb2dbcf9d1387f82bc2bfdec146be..5a0375130499d68894c8ac52897c835187095880 100644 (file)
@@ -32,4 +32,4 @@ do_compile:prepend() {
 ALTERNATIVE:${PN} = "bc dc"
 ALTERNATIVE_PRIORITY = "100"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"