41 lines
924 B
Makefile
Executable File
41 lines
924 B
Makefile
Executable File
TARGET_PATH :=$(call my-dir)
|
|
include $(ENV_CLEAR)
|
|
|
|
$(info ---------copy config file-----------)
|
|
$(call copy-one-file, \
|
|
$(TARGET_PATH)/MiniGUI.cfg, \
|
|
$(TARGET_OUT)/target/etc/MiniGUI.cfg \
|
|
)
|
|
|
|
$(call copy-one-file, \
|
|
$(TARGET_PATH)/sunxi-keyboard.kl, \
|
|
$(TARGET_OUT)/target/etc/sunxi-keyboard.kl \
|
|
)
|
|
|
|
$(call copy-one-file, \
|
|
$(TARGET_PATH)/10-local.rules, \
|
|
$(TARGET_OUT)/target/etc/udev/rules.d \
|
|
)
|
|
|
|
# copy file as ths default configuretion
|
|
$(call copy-files-under, \
|
|
$(TARGET_PATH)/data/*.lua, \
|
|
$(TARGET_OUT)/target/usr/share/app/sdv \
|
|
)
|
|
|
|
$(call copy-files-under, \
|
|
$(TARGET_PATH)/data/*, \
|
|
$(TARGET_OUT)/target/data \
|
|
)
|
|
$(shell $(TARGET_PATH)/update_build_info.sh $(TARGET_PATH))
|
|
|
|
$(call copy-one-file, \
|
|
$(TARGET_PATH)/build_info.lua, \
|
|
$(TARGET_OUT)/target/usr/share/app/sdv/build_info.lua \
|
|
)
|
|
|
|
|
|
#$(shell $(TARGET_PATH)/make_cfg_fex.sh $(TARGET_PATH))
|
|
|
|
$(shell $(TARGET_PATH)/user_config.sh $(TARGET_PATH))
|