diff options
author | Elliott Hughes <enh@google.com> | 2014-08-22 22:45:51 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-08-22 22:45:51 +0000 |
commit | 24ebd14df16750488812a59b6e200f248d234fa8 (patch) | |
tree | 2a6366372be0fff30e7605630fa91e131780b0ab /0.153/libebl/Android.mk | |
parent | 540b4d7df671f718cd39240f34615742dbad1103 (diff) | |
parent | 3c7c11e468715fb6c607f8fcab798bd94917568e (diff) | |
download | android_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/libebl/Android.mk')
-rwxr-xr-x | 0.153/libebl/Android.mk | 23 |
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 |