package/refpolicy: remove dependency on policycoreutils
authorAdam Duskett <aduskett@gmail.com>
Mon, 3 Feb 2020 13:29:47 +0000 (05:29 -0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 3 Feb 2020 14:28:19 +0000 (15:28 +0100)
Only host-policycoreutils is needed to build refpolicy. Remove the uneeded
target package.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/refpolicy/Config.in
package/refpolicy/refpolicy.mk

index e775865317efdc3a5a2711b03a24f09781f1dfd5..d9cf6e653131a801bf11d1cd4ea728c379503745 100644 (file)
@@ -1,9 +1,5 @@
 config BR2_PACKAGE_REFPOLICY
        bool "refpolicy"
-       depends on BR2_TOOLCHAIN_HAS_THREADS # policycoreutils
-       depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS # policycoreutils
-       depends on !BR2_STATIC_LIBS # policycoreutils
-       select BR2_PACKAGE_POLICYCOREUTILS
        select BR2_PACKAGE_BUSYBOX_SELINUX if BR2_PACKAGE_BUSYBOX
        help
          The SELinux Reference Policy project (refpolicy) is a
@@ -26,10 +22,6 @@ config BR2_PACKAGE_REFPOLICY
 
          https://github.com/TresysTechnology/refpolicy
 
-comment "refpolicy needs a toolchain w/ threads, dynamic library"
-       depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS
-       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
-
 if BR2_PACKAGE_REFPOLICY
 
 config BR2_PACKAGE_REFPOLICY_POLICY_VERSION
index 1c3b1bc5419cb2a38d9f8a5ade66beccebd7113d..66bddd1aee710424661cd1f575dd9255b9e6632e 100644 (file)
@@ -15,8 +15,7 @@ REFPOLICY_DEPENDENCIES = \
        host-checkpolicy \
        host-policycoreutils \
        host-setools \
-       host-gawk \
-       policycoreutils
+       host-gawk
 
 ifeq ($(BR2_PACKAGE_PYTHON3),y)
 REFPOLICY_DEPENDENCIES += host-python3