blob: 121ae02d36b503585088f121efa1119a5f762fa1 [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
bigbiffad58e1b2020-07-06 20:24:34 -04009LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/
Ethan Yonker91758442017-02-03 13:24:31 -060010LOCAL_PACK_MODULE_RELOCATIONS := false
11
12ifneq ($(TARGET_ARCH), arm64)
13 ifneq ($(TARGET_ARCH), x86_64)
bigbiffad58e1b2020-07-06 20:24:34 -040014 LOCAL_LDFLAGS += -Wl,-dynamic-linker,/system/bin/linker
Ethan Yonker91758442017-02-03 13:24:31 -060015 else
bigbiffad58e1b2020-07-06 20:24:34 -040016 LOCAL_LDFLAGS += -Wl,-dynamic-linker,/system/bin/linker64
Ethan Yonker91758442017-02-03 13:24:31 -060017 endif
18else
bigbiffad58e1b2020-07-06 20:24:34 -040019 LOCAL_LDFLAGS += -Wl,-dynamic-linker,/system/bin/linker64
Ethan Yonker91758442017-02-03 13:24:31 -060020endif
21
22include $(BUILD_EXECUTABLE)