diff options
author | Pascal Bach <pascal.bach@siemens.com> | 2016-03-17 14:25:10 +0100 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-04-01 12:05:27 -0400 |
commit | 6a31e7c139fc830b42d518e55dc94a2b2da5872e (patch) | |
tree | 4b552c9f4aae7ebdb82b78e0767329a51369e29d | |
parent | 259f5cd6f3c40529fbdfe174ac395b0b32fb9071 (diff) | |
download | meta-openembedded-6a31e7c139fc830b42d518e55dc94a2b2da5872e.tar.gz |
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 <pascal.bach@siemens.com>
Signed-off-by: Freudiger Raphael <raphael.freudiger@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.1.bb | 12 |
1 files 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" | |||
12 | SRC_URI[md5sum] = "a7b83c57f47b62f48373905d3b4f7978" | 12 | SRC_URI[md5sum] = "a7b83c57f47b62f48373905d3b4f7978" |
13 | SRC_URI[sha256sum] = "284abf8c3be0580bbac5eaca95359346ab0d78d4072317b6ce87cc68f2e8ae7b" | 13 | SRC_URI[sha256sum] = "284abf8c3be0580bbac5eaca95359346ab0d78d4072317b6ce87cc68f2e8ae7b" |
14 | 14 | ||
15 | inherit autotools | 15 | inherit autotools-brokensep |
16 | 16 | ||
17 | B = "${S}" | 17 | PACKAGECONFIG ?= "udev ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}" |
18 | EXTRA_OECONF = "--enable-ipv4 --enable-ipv6" | ||
19 | 18 | ||
20 | FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug" | 19 | PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev" |
20 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6" | ||
21 | |||
22 | EXTRA_OECONF = "--enable-ipv4" | ||
21 | 23 | ||
22 | RDEPENDS_${PN} = "udev" | 24 | FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug" |