[OE-core] [PATCH v2 2/2] bc: fix conflict with busybox
Andrej Valek
andrej.valek at siemens.com
Sat Feb 16 19:40:48 UTC 2019
- make bc compatible with update alternative
- disable bc applet in busybox by default
Signed-off-by: Andrej Valek <andrej.valek at siemens.com>
---
meta/recipes-core/busybox/busybox/defconfig | 1 +
meta/recipes-extended/bc/bc_1.07.1.bb | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/busybox/busybox/defconfig b/meta/recipes-core/busybox/busybox/defconfig
index d11707abc3..2633bc067b 100644
--- a/meta/recipes-core/busybox/busybox/defconfig
+++ b/meta/recipes-core/busybox/busybox/defconfig
@@ -784,6 +784,7 @@ CONFIG_FEATURE_BEEP_LENGTH_MS=0
# CONFIG_FEATURE_CHAT_CLR_ABORT is not set
# CONFIG_CHRT is not set
# CONFIG_CRONTAB is not set
+# CONFIG_BC is not set
CONFIG_DC=y
# CONFIG_FEATURE_DC_LIBM is not set
# CONFIG_DEVFSD is not set
diff --git a/meta/recipes-extended/bc/bc_1.07.1.bb b/meta/recipes-extended/bc/bc_1.07.1.bb
index e80857745e..10e222a3cc 100644
--- a/meta/recipes-extended/bc/bc_1.07.1.bb
+++ b/meta/recipes-extended/bc/bc_1.07.1.bb
@@ -27,7 +27,7 @@ do_compile_prepend() {
cp -f ${WORKDIR}/libmath.h ${B}/bc/libmath.h
}
-ALTERNATIVE_${PN} = "dc"
+ALTERNATIVE_${PN} = "bc dc"
ALTERNATIVE_PRIORITY = "100"
BBCLASSEXTEND = "native"
\ No newline at end of file
--
2.11.0
More information about the Openembedded-core
mailing list