Ethan Yonker | 9175844 | 2017-02-03 13:24:31 -0600 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | LOCAL_SRC_FILES := listxattr.c |
| 5 | LOCAL_CFLAGS := -c -W |
| 6 | LOCAL_MODULE := listxattr |
| 7 | LOCAL_MODULE_TAGS := eng |
| 8 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 9 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 10 | LOCAL_PACK_MODULE_RELOCATIONS := false |
| 11 | |
| 12 | ifneq ($(TARGET_ARCH), arm64) |
| 13 | ifneq ($(TARGET_ARCH), x86_64) |
| 14 | LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker |
| 15 | else |
| 16 | LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64 |
| 17 | endif |
| 18 | else |
| 19 | LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64 |
| 20 | endif |
| 21 | |
| 22 | include $(BUILD_EXECUTABLE) |