]> code.ossystems Code Review - openembedded-core.git/commitdiff
iproute2: make elfutils support optional
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 10 Oct 2019 11:18:44 +0000 (13:18 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Oct 2019 15:55:54 +0000 (16:55 +0100)
The use case is as well allowing gpl3-free builds without
pulling in outdated meta-gpl2 recipes.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/iproute2/iproute2.inc

index d72871767f9c89a857c2e9e4881746a907fa34cf..fc31b8444ee94779342b9a6e672e6fdef997b336 100644 (file)
@@ -9,14 +9,15 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
                     file://ip/ip.c;beginline=3;endline=8;md5=689d691d0410a4b64d3899f8d6e31817"
 
-DEPENDS = "flex-native bison-native iptables elfutils libcap"
+DEPENDS = "flex-native bison-native iptables libcap"
 
 inherit update-alternatives bash-completion pkgconfig
 
 CLEANBROKEN = "1"
 
-PACKAGECONFIG ??= "tipc"
+PACKAGECONFIG ??= "tipc elf"
 PACKAGECONFIG[tipc] = ",,libmnl,"
+PACKAGECONFIG[elf] = ",,elfutils,"
 
 EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip bridge misc genl \
                 ${@bb.utils.contains('PACKAGECONFIG', 'tipc', 'tipc', '', d)}' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"