summaryrefslogtreecommitdiffstats
path: root/0.153/libdw/Android.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-08-22 22:45:51 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-22 22:45:51 +0000
commit24ebd14df16750488812a59b6e200f248d234fa8 (patch)
tree2a6366372be0fff30e7605630fa91e131780b0ab /0.153/libdw/Android.mk
parent540b4d7df671f718cd39240f34615742dbad1103 (diff)
parent3c7c11e468715fb6c607f8fcab798bd94917568e (diff)
downloadandroid_external_elfutils-24ebd14df16750488812a59b6e200f248d234fa8.tar.gz
android_external_elfutils-24ebd14df16750488812a59b6e200f248d234fa8.tar.bz2
android_external_elfutils-24ebd14df16750488812a59b6e200f248d234fa8.zip
am 3c7c11e4: am dad1eeca: Merge "Only the host part of the elfutils build should be conditional."
* commit '3c7c11e468715fb6c607f8fcab798bd94917568e': Only the host part of the elfutils build should be conditional.
Diffstat (limited to '0.153/libdw/Android.mk')
-rwxr-xr-x0.153/libdw/Android.mk23
1 files changed, 10 insertions, 13 deletions
diff --git a/0.153/libdw/Android.mk b/0.153/libdw/Android.mk
index f9c02af3..52a0923f 100755
--- a/0.153/libdw/Android.mk
+++ b/0.153/libdw/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 libdw
-#
-
-include $(CLEAR_VARS)
-
LIBDW_SRC_FILES := \
cfi.c \
cie.c \
@@ -127,6 +116,14 @@ LIBDW_SRC_FILES := \
libdw_visit_scopes.c \
memory-access.c
+ifeq ($(HOST_OS),linux)
+
+#
+# host libdw
+#
+
+include $(CLEAR_VARS)
+
LOCAL_SRC_FILES := $(LIBDW_SRC_FILES)
LOCAL_C_INCLUDES := \
@@ -152,6 +149,8 @@ LOCAL_MODULE:= libdw
include $(BUILD_HOST_STATIC_LIBRARY)
+endif # linux
+
#
# target libdw
#
@@ -180,5 +179,3 @@ LOCAL_MODULE_TAGS := eng
LOCAL_MODULE:= libdw
include $(BUILD_STATIC_LIBRARY)
-
-endif #cur_platform