blob: 2986ab50bf3e8071d887a8a4962739c790f18e29 [file] [log] [blame]
Ethan Yonker91758442017-02-03 13:24:31 -06001LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4LOCAL_SRC_FILES := listxattr.c
5LOCAL_CFLAGS := -c -W
6LOCAL_MODULE := listxattr
7LOCAL_MODULE_TAGS := eng
8LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
9LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
10LOCAL_PACK_MODULE_RELOCATIONS := false
11
12ifneq ($(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
18else
19 LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64
20endif
21
22include $(BUILD_EXECUTABLE)