summaryrefslogtreecommitdiffstats
path: root/fastboot
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2012-04-08 11:25:04 -0700
committerKenny Root <kroot@google.com>2012-04-08 11:27:06 -0700
commit82fd659667e0919bf804a6a1cb4c9b1b10a76e0f (patch)
tree7e2f97618ce97a479a119a84393fa99a8265cb0f /fastboot
parenta64adba539c290624c27a8506ee6c0ba39f44ffc (diff)
downloadsystem_core-82fd659667e0919bf804a6a1cb4c9b1b10a76e0f.zip
system_core-82fd659667e0919bf804a6a1cb4c9b1b10a76e0f.tar.gz
system_core-82fd659667e0919bf804a6a1cb4c9b1b10a76e0f.tar.bz2
Tweak makefile to let SELinux build
fastboot now needs SELinux support when not on Windows. Change-Id: Ib32404ef5c9a1a183d7ae319cc94eaf7f12620d9
Diffstat (limited to 'fastboot')
-rw-r--r--fastboot/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/fastboot/Android.mk b/fastboot/Android.mk
index 8c130ff..089b9bb 100644
--- a/fastboot/Android.mk
+++ b/fastboot/Android.mk
@@ -50,6 +50,12 @@ endif
LOCAL_STATIC_LIBRARIES := $(EXTRA_STATIC_LIBS) libzipfile libunz libext4_utils libz
+ifneq ($(HOST_OS),windows)
+ifeq ($(HAVE_SELINUX), true)
+LOCAL_STATIC_LIBRARIES += libselinux
+endif # HAVE_SELINUX
+endif # HOST_OS != windows
+
include $(BUILD_HOST_EXECUTABLE)
$(call dist-for-goals,dist_files,$(LOCAL_BUILT_MODULE))