like this Android.mk can copy 123.bin into /system/bin .
LOCAL_PATH := $(call my-dir)
$(call add-prebuilt-files, EXECUTABLES, 123.bin)
but i want to copy 123.bin into /system/xbin, how can i do it. i know this:
will copy to
ETC ====> /system/etc
EXECUTABLES ====> /system/bin
SHARED_LIBRARIES ====> /system/lib
STATIC_LIBRARIES ====> /system/lib
Try this
include $(CLEAR_VARS)
LOCAL_MODULE := 123.bin
LOCAL_MODULE_PATH := $(TARGET_OUT)/xbin
LOCAL_SRC_FILES := 123.bin
LOCAL_MODULE_CLASS := EXECUTABLE
include $(BUILD_PREBUILT)