blob: ab1d892ebe9d3392215cdd23175dc23f3138435c [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
bigbiffd58ba182020-03-23 10:02:29 -04007LOCAL_MODULE_TAGS := optional
Ethan Yonker91758442017-02-03 13:24:31 -06008LOCAL_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)