Fwd: [PATCH] Add build property ro.build.selinux when building

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When building with HAVE_SELINUX:=true, this build property will be
added to the systems properties.
---
 core/main.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/core/main.mk b/core/main.mk
index 3d8d6e0..e527160 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -218,6 +218,10 @@ ifneq ($(filter sdk win_sdk sdk_addon,$(MAKECMDGOALS)),)
 is_sdk_build := true
 endif

+## have selinux ##
+ifeq ($(HAVE_SELINUX),true)
+ADDITIONAL_BUILD_PROPERTIES += ro.build.selinux=1
+endif # HAVE_SELINUX

 ## user/userdebug ##

--
1.7.0.4




--
Respectfully,

William C Roberts



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux