summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.30.bb8
1 files changed, 2 insertions, 6 deletions
diff --git a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.30.bb b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.30.bb
index cc4be305d1..f209ea1778 100644
--- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.30.bb
+++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.30.bb
@@ -23,17 +23,13 @@ PROVIDES = "coreutils"
23RPROVIDES:${PN} = "coreutils" 23RPROVIDES:${PN} = "coreutils"
24 24
25PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" 25PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
26 26PACKAGECONFIG[selinux] = "--features feat_selinux,,clang-native libselinux-native libselinux"
27PACKAGECONFIG[selinux] = ",,libselinux"
28 27
29CARGO_BUILD_FLAGS += "--features unix" 28CARGO_BUILD_FLAGS += "--features unix"
30CARGO_BUILD_FLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'selinux', '--features feat_selinux', '', d)}"
31
32DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'selinux', 'clang-native libselinux-native', '', d)}"
33 29
34# The code which follows is strongly inspired from the GNU coreutils bitbake recipe: 30# The code which follows is strongly inspired from the GNU coreutils bitbake recipe:
35 31
36# [ df mktemp nice printenv base64 gets a special treatment and is not included in this 32# df mktemp nice printenv base32 base64 get a special treatment and are not included in this
37bindir_progs = "[ arch basename cksum comm csplit cut dir dircolors dirname du \ 33bindir_progs = "[ arch basename cksum comm csplit cut dir dircolors dirname du \
38 env expand expr factor fmt fold groups head hostid id install \ 34 env expand expr factor fmt fold groups head hostid id install \
39 join link logname md5sum mkfifo nl nohup nproc od paste pathchk \ 35 join link logname md5sum mkfifo nl nohup nproc od paste pathchk \