diff options
author | Chong.Lu@windriver.com <Chong.Lu@windriver.com> | 2014-03-13 11:26:41 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-03-11 19:18:07 -0400 |
commit | c299c5a74c0686dc6c292d17b1eaee4910cc0888 (patch) | |
tree | c8d1154a51bfdcae32e5f0205a856a1ee6faea44 /meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb | |
parent | 769ea4a4734d87260c484efe7a87e3e038089516 (diff) | |
download | meta-openembedded-contrib-c299c5a74c0686dc6c292d17b1eaee4910cc0888.tar.gz |
net-snmp: add knob whether nlist.h are checked
Previously, it still was checked when there was no nlish.h in sysroots directory.
Add knob to decide whether nlist.h are checked or not.
Fixed by using PACKAGECONFIG to check elf, with default disabled set.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb')
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb index a76de0d3b8..6ebbcd8374 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb @@ -15,6 +15,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ file://snmpd.service \ file://snmptrapd.service \ file://ifmib.patch \ + file://net-snmp-add-knob-whether-nlist.h-are-checked.patch \ " SRC_URI[md5sum] = "a2c83518648b0f2a5d378625e45c0e18" @@ -29,6 +30,9 @@ CCACHE = "" TARGET_CC_ARCH += "${LDFLAGS}" +PACKAGECONFIG ??= "" +PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils" + EXTRA_OECONF = "--disable-embedded-perl \ --with-perl-modules=no \ --enable-shared \ |