summaryrefslogtreecommitdiffstats
path: root/0.153/libebl/Android.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-08-22 22:05:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-08-22 22:05:58 +0000
commitdad1eecaf9bcc826dacdf2855b7bd1adddd02a59 (patch)
treee64acee178a94e8ded4e0179d960f7f73373bace /0.153/libebl/Android.mk
parentf73f8d6e844c98a03e43a826ce7a5b430b0a22db (diff)
parent7c6f5a899134a0984cac34fc30aaa4b546821181 (diff)
downloadandroid_external_elfutils-dad1eecaf9bcc826dacdf2855b7bd1adddd02a59.tar.gz
android_external_elfutils-dad1eecaf9bcc826dacdf2855b7bd1adddd02a59.tar.bz2
android_external_elfutils-dad1eecaf9bcc826dacdf2855b7bd1adddd02a59.zip
Merge "Only the host part of the elfutils build should be conditional."
Diffstat (limited to '0.153/libebl/Android.mk')
-rwxr-xr-x0.153/libebl/Android.mk23
1 files changed, 10 insertions, 13 deletions
diff --git a/0.153/libebl/Android.mk b/0.153/libebl/Android.mk
index 5af01f9b..69ddaa50 100755
--- a/0.153/libebl/Android.mk
+++ b/0.153/libebl/Android.mk
@@ -14,17 +14,6 @@
LOCAL_PATH := $(call my-dir)
-supported_platforms := linux
-cur_platform := $(filter $(HOST_OS),$(supported_platforms))
-
-ifdef cur_platform
-
-#
-# host libebl
-#
-#
-include $(CLEAR_VARS)
-
LIBEBL_SRC_FILES := \
eblabicfi.c \
eblauxvinfo.c \
@@ -71,6 +60,14 @@ LIBEBL_SRC_FILES := \
ebl_syscall_abi.c \
eblsysvhashentrysize.c
+ifeq ($(HOST_OS),linux)
+
+#
+# host libebl
+#
+#
+include $(CLEAR_VARS)
+
LOCAL_SRC_FILES := $(LIBEBL_SRC_FILES)
LOCAL_C_INCLUDES := \
@@ -91,6 +88,8 @@ LOCAL_MODULE:= libebl
include $(BUILD_HOST_STATIC_LIBRARY)
+endif # linux
+
#
# target libebl
#
@@ -116,5 +115,3 @@ LOCAL_CFLAGS += -DHAVE_CONFIG_H -std=gnu99 -Werror
LOCAL_MODULE:= libebl
include $(BUILD_STATIC_LIBRARY)
-
-endif #cur_platform