executables have calls to some shared libraries without explicitly linking them. Currently it works as linker links these libraries via dependencies of other libraries. This is fragile and not the right thing to do.
17 lines
278 B
Makefile
17 lines
278 B
Makefile
ifeq ($(TARGET_ARCH),arm)
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
sdutil.cpp \
|
|
|
|
LOCAL_SHARED_LIBRARIES := libhardware_legacy libbinder libcutils libutils libc
|
|
|
|
LOCAL_MODULE:= sdutil
|
|
LOCAL_MODULE_TAGS := debug
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
endif
|