summaryrefslogtreecommitdiff
path: root/init/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'init/Android.mk')
-rw-r--r--init/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/Android.mk b/init/Android.mk
index 8f04ac1..fc4a5ba 100644
--- a/init/Android.mk
+++ b/init/Android.mk
@@ -27,5 +27,11 @@ LOCAL_SRC_FILES := init_wayne.cpp
LOCAL_STATIC_LIBRARIES := \
libbase \
libselinux
+LOCAL_CFLAGS := -Wall
+
+ifneq ($(TARGET_LIBINIT_WAYNE_DEFINES_FILE),)
+ LOCAL_CFLAGS += -DTARGET_HAVE_LIBINIT
+ LOCAL_SRC_FILES += ../../../../$(TARGET_LIBINIT_WAYNE_DEFINES_FILE)
+endif
include $(BUILD_STATIC_LIBRARY)