From 6a31e7c139fc830b42d518e55dc94a2b2da5872e Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Thu, 17 Mar 2016 14:25:10 +0100 Subject: dhcpcd: cleanup recipe - use autotools-brokensep instead of B = "${S}" - make udev configurable via PACKAGECONFIG - make ipv6 configurable via PACKAGECONFIG Signed-off-by: Pascal Bach Signed-off-by: Freudiger Raphael Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.1.bb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.1.bb b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.1.bb index 5f207f547..cd8042866 100644 --- a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.1.bb +++ b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.1.bb @@ -12,11 +12,13 @@ SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz" SRC_URI[md5sum] = "a7b83c57f47b62f48373905d3b4f7978" SRC_URI[sha256sum] = "284abf8c3be0580bbac5eaca95359346ab0d78d4072317b6ce87cc68f2e8ae7b" -inherit autotools +inherit autotools-brokensep -B = "${S}" -EXTRA_OECONF = "--enable-ipv4 --enable-ipv6" +PACKAGECONFIG ?= "udev ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}" -FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug" +PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev" +PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6" + +EXTRA_OECONF = "--enable-ipv4" -RDEPENDS_${PN} = "udev" +FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug" -- cgit v1.2.3-54-g00ecf