diff options
Diffstat (limited to 'toolbox')
-rw-r--r-- | toolbox/Android.mk | 6 |
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 |