mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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>
This commit is contained in:
committed by
Khem Raj
parent
e34a29f124
commit
4f38b524ac
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user