aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux.inc
diff options
context:
space:
mode:
authorLu Chong <Chong.Lu@windriver.com>2013-11-14 10:47:58 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-20 14:02:54 +0000
commit4cff0bd254667b145d765e1135f254c1916e2ee8 (patch)
tree636eeac5e5ca6e39993fb64ff593b7da80a2a339 /meta/recipes-core/util-linux/util-linux.inc
parent014f7a33f399192268f28acac835551413c4768d (diff)
downloadopenembedded-core-contrib-4cff0bd254667b145d765e1135f254c1916e2ee8.tar.gz
util-linux: Fix QA warnings about ALTERNATIVES
Previously, EXTRA_OECONF would be overwritten by EXTRA_OECONF_class-native and EXTRA_OECONF_class-nativesdk. As a result, some applications such as `last', `mesg' and `reset' didn't get compiled. The patch rewrote EXTRA_OECONF_class-native, EXTRA_OECONF_class-nativesdk and EXTRA_OECONF variables to fix QA warnings. usr/share/man/man1/last.1.util-linux does not exist usr/share/man/man1/mesg.1.util-linux does not exist usr/bin/last.util-linux does not exist usr/bin/mesg.util-linux does not exist bin/reset does not exist Signed-off-by: Chong Lu <Chong.Lu@windriver.com> [YOCTO #5338] Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux.inc')
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc19
1 files changed, 11 insertions, 8 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 15b677015f1..94c0ba0940b 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -39,15 +39,18 @@ PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd
util-linux-mkfs.cramfs util-linux-fsck.cramfs \
util-linux-partx ${PN}-bash-completion"
-EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \
- --disable-makeinstall-chown --enable-elvtune --enable-init \
- --enable-kill --enable-last --enable-mesg --enable-partx \
- --enable-raw --enable-rdev --enable-reset --disable-login \
- --disable-vipw --disable-newgrp --disable-chfn-chsh \
- --enable-write --enable-arch --enable-mount --with-fsprobe=builtin \
- --enable-libuuid --enable-libblkid --enable-fsck --without-udev \
- usrsbin_execdir='${sbindir}' \
+SHARED_EXTRA_OECONF = "--disable-use-tty-group \
+ --disable-makeinstall-chown --enable-elvtune --enable-init \
+ --enable-kill --enable-last --enable-mesg --enable-partx \
+ --enable-raw --enable-rdev --enable-reset --disable-login \
+ --disable-vipw --disable-newgrp --disable-chfn-chsh \
+ --enable-write --enable-arch --enable-mount --with-fsprobe=builtin \
+ --enable-libuuid --enable-libblkid --enable-fsck --without-udev \
+ usrsbin_execdir='${sbindir}' \
"
+
+EXTRA_OECONF = "${SHARED_EXTRA_OECONF} --libdir=${base_libdir}"
+
PACKAGECONFIG_class-target ?= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} "
PACKAGECONFIG[pam] = "--enable-su --enable-runuser,--disable-su --disable-runuser, libpam,"