aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libsmi
diff options
context:
space:
mode:
authorBenjamin Bouvier <benjamin.bouvier@ekinops.com>2023-11-07 12:15:09 +0100
committerKhem Raj <raj.khem@gmail.com>2023-11-07 23:11:24 -0800
commit4f38b524ac8e96de65433371749ffc5cf8771675 (patch)
treeff6b84064778dfe8fbbe090d57e382dc0e5621f7 /meta-oe/recipes-support/libsmi
parente34a29f12444cd31fb6e6c11712603897e24a6d5 (diff)
downloadmeta-openembedded-contrib-4f38b524ac8e96de65433371749ffc5cf8771675.tar.gz
libsmi: enable native build
Move wget and awk EXTRA_OECONF parameters into native dependencies to not lock native build. Add missing BBCLASSEXTENDS to build libsmi in native. Signed-off-by: Benjamin Bouvier <benjamin.bouvier@ekinops.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libsmi')
-rw-r--r--meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb b/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb
index 33e1b6fabd..07e2e29417 100644
--- a/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb
+++ b/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb
@@ -14,13 +14,11 @@ SRC_URI = "https://www.ibr.cs.tu-bs.de/projects/${BPN}/download/${BP}.tar.gz \
SRC_URI[md5sum] = "4bf47483c06c9f07d1b10fbc74eddf11"
SRC_URI[sha256sum] = "f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3"
-DEPENDS += "bison-native flex-native"
-
-RDEPENDS:${PN} += "wget"
+DEPENDS += "bison-native flex-native wget-native gawk-native"
inherit autotools-brokensep
-EXTRA_OECONF = "ac_cv_path_SH=/bin/sh ac_cv_path_WGET=${bindir}/wget ac_cv_path_AWK=${bindir}/awk"
+EXTRA_OECONF = "ac_cv_path_SH=/bin/sh"
do_install:append () {
install -d ${D}${sysconfdir}
@@ -34,3 +32,5 @@ FILES:${PN}-pibs += "${datadir}/pibs"
FILES:${PN}-yang += "${datadir}/yang"
RRECOMMENDS:${PN} = "${BPN}-mibs"
+
+BBCLASSEXTEND = "native nativesdk"