bc: extend to nativesdk

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.

(From OE-Core rev: 95b5c89066baccb1e64bfba7d9a66feeeb086da9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chen Qi
2022-11-30 19:56:31 -08:00
committed by Richard Purdie
parent 241c7b023f
commit 145f3d2702

View File

@@ -37,4 +37,4 @@ do_install_ptest() {
ALTERNATIVE:${PN} = "bc dc"
ALTERNATIVE_PRIORITY = "100"
BBCLASSEXTEND = "native"
BBCLASSEXTEND = "native nativesdk"