From 91758440d3bd350b30a384c07ff1c827f14a12fe Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Fri, 3 Feb 2017 13:24:31 -0600 Subject: Add a listxattr tool for listing xattrs Change-Id: Ib80bab2b605ce77cd8fdc717d8bcfa8085516679 --- attr/Android.mk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 attr/Android.mk (limited to 'attr/Android.mk') diff --git a/attr/Android.mk b/attr/Android.mk new file mode 100644 index 000000000..2986ab50b --- /dev/null +++ b/attr/Android.mk @@ -0,0 +1,22 @@ +LOCAL_PATH:= $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_SRC_FILES := listxattr.c +LOCAL_CFLAGS := -c -W +LOCAL_MODULE := listxattr +LOCAL_MODULE_TAGS := eng +LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES +LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin +LOCAL_PACK_MODULE_RELOCATIONS := false + +ifneq ($(TARGET_ARCH), arm64) + ifneq ($(TARGET_ARCH), x86_64) + LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker + else + LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64 + endif +else + LOCAL_LDFLAGS += -Wl,-dynamic-linker,/sbin/linker64 +endif + +include $(BUILD_EXECUTABLE) -- cgit v1.2.3