diff options
Diffstat (limited to 'tools/isprelinked/Android.mk')
-rwxr-xr-x | tools/isprelinked/Android.mk | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tools/isprelinked/Android.mk b/tools/isprelinked/Android.mk new file mode 100755 index 0000000..e085f29 --- /dev/null +++ b/tools/isprelinked/Android.mk @@ -0,0 +1,40 @@ +# Copyright 2005 The Android Open Source Project +# +# Android.mk for apriori +# + +LOCAL_PATH:= $(call my-dir) + +ifeq ($(TARGET_ARCH),arm) +include $(CLEAR_VARS) + +LOCAL_LDLIBS += -ldl +LOCAL_CFLAGS += -O2 -g +LOCAL_CFLAGS += -fno-function-sections -fno-data-sections -fno-inline +LOCAL_CFLAGS += -Wall -Wno-unused-function #-Werror +LOCAL_CFLAGS += -DSUPPORT_ANDROID_PRELINK_TAGS +LOCAL_CFLAGS += -DARM_SPECIFIC_HACKS +LOCAL_CFLAGS += -DDEBUG + +ifeq ($(HOST_OS),windows) +LOCAL_LDLIBS += -lintl +endif + +LOCAL_SRC_FILES := \ + isprelinked.c \ + debug.c \ + prelink_info.c + +LOCAL_C_INCLUDES:= \ + $(LOCAL_PATH)/ \ + external/elfutils/lib/ \ + external/elfutils/libelf/ \ + external/elfutils/libebl/ \ + external/elfcopy/ + +LOCAL_STATIC_LIBRARIES := libelfcopy libelf libebl libebl_arm #dl + +LOCAL_MODULE := isprelinked + +include $(BUILD_HOST_EXECUTABLE) +endif #TARGET_ARCH==arm |