summaryrefslogtreecommitdiffstats
path: root/0.153/libebl/Android.mk
diff options
context:
space:
mode:
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 2b695847..e3178c0c 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 := \
@@ -95,6 +92,8 @@ LOCAL_MODULE:= libebl
include $(BUILD_HOST_STATIC_LIBRARY)
+endif # linux
+
#
# target libebl
#
@@ -120,5 +119,3 @@ LOCAL_CFLAGS += -DHAVE_CONFIG_H -std=gnu99 -Werror
LOCAL_MODULE:= libebl
include $(BUILD_STATIC_LIBRARY)
-
-endif #cur_platform