blob: f1d376d9139194e50b1b272a2b149112ea793db0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
define target/ApplyCusto
#Install custom configuration if present
if [ -d $(TARGET_DIR)/etc/custo/ ]; then \
overrides=`find $(TARGET_DIR)/etc/custo/ -mindepth 1 -maxdepth 1 | xargs` ;\
for override in $$$$overrides ; do \
cp -rf $$$$override $(TARGET_DIR)/etc/; \
done ;\
rm -r $(TARGET_DIR)/etc/custo/ ; \
fi
endef
|