summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-12-22 21:31:37 +0100
committerEthan Yonker <dees_troy@teamw.in>2014-12-22 21:48:05 +0100
commitdc3223adb251b360dfa33f1827ce94ad6a571859 (patch)
tree633897c9dad345aa7329148a98d31c120aae2e68
parent2.8.3.0 (diff)
downloadandroid_bootable_recovery-dc3223adb251b360dfa33f1827ce94ad6a571859.tar
android_bootable_recovery-dc3223adb251b360dfa33f1827ce94ad6a571859.tar.gz
android_bootable_recovery-dc3223adb251b360dfa33f1827ce94ad6a571859.tar.bz2
android_bootable_recovery-dc3223adb251b360dfa33f1827ce94ad6a571859.tar.lz
android_bootable_recovery-dc3223adb251b360dfa33f1827ce94ad6a571859.tar.xz
android_bootable_recovery-dc3223adb251b360dfa33f1827ce94ad6a571859.tar.zst
android_bootable_recovery-dc3223adb251b360dfa33f1827ce94ad6a571859.zip
Diffstat (limited to '')
-rw-r--r--toolbox/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk
index a08e78d38..93e96a8a9 100644
--- a/toolbox/Android.mk
+++ b/toolbox/Android.mk
@@ -107,7 +107,7 @@ ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
OUR_TOOLS += r
endif
-ALL_TOOLS = $(BSD_TOOLS) $(OUR_TOOLS)
+ALL_TOOLS = $(BSD_TOOLS) $(OUR_TOOLS) setenforce
LOCAL_SRC_FILES := \
upstream-netbsd/lib/libc/gen/getbsize.c \
@@ -120,6 +120,10 @@ LOCAL_SRC_FILES := \
$(patsubst %,%.c,$(OUR_TOOLS)) \
toolbox.c \
+ifeq (,$(filter $(LOCAL_SRC_FILES),setenforce.c))
+ LOCAL_SRC_FILES += setenforce.c
+endif
+
LOCAL_CFLAGS += $(common_cflags)
LOCAL_C_INCLUDES += external/openssl/include