1 Dec 2010 01:19
[oe] [PATCH] iputils_20071127.bb: Don't build ipv6 utils if DISTRO_FEATURES lacks ipv6.
Graham Gower <graham.gower <at> gmail.com>
2010-12-01 00:19:24 GMT
2010-12-01 00:19:24 GMT
Signed-off-by: Graham Gower <graham.gower <at> gmail.com> --- recipes/iputils/iputils_20071127.bb | 29 ++++++++++++++++++++--------- 1 files changed, 20 insertions(+), 9 deletions(-) diff --git a/recipes/iputils/iputils_20071127.bb b/recipes/iputils/iputils_20071127.bb index e5861eb..bcb35c4 100644 --- a/recipes/iputils/iputils_20071127.bb +++ b/recipes/iputils/iputils_20071127.bb <at> <at> -5,7 +5,7 <at> <at> SECTION = "console/network" LICENSE ="BSD" DEPENDS = "docbook-utils-native sgmlspl-native" -PR = "r2" +PR = "r3" DEFAULT_PREFERENCE_angstrom = "2" <at> <at> -22,10 +22,14 <at> <at> SRC_URI = "http://ftp.de.debian.org/debian/pool/main/i/iputils/iputils_${PV}.ori S = "${WORKDIR}/iputils_20071127.orig" -PACKAGES += "${PN}-ping ${PN}-ping6 ${PN}-arping ${PN}-tracepath ${PN}-tracepath6 ${PN}-traceroute6" +PACKAGES_IPV4 = "${PN}-ping ${PN}-arping ${PN}-tracepath" +PACKAGES_IPV6 = "${PN}-ping6 ${PN}-tracepath6 ${PN}-traceroute6" +all_pkgs = "${PACKAGES_IPV4} \ + ${ <at> base_contains('DISTRO_FEATURES', 'ipv6', '${PACKAGES_IPV6}', '', d)}" +PACKAGES += "${all_pkgs}"(Continue reading)
RSS Feed