Get rid of repeated copy of 'customize'
This commit is contained in:
parent
826f8ef472
commit
06cc62f9cf
|
@ -5,8 +5,23 @@
|
||||||
#############################################################
|
#############################################################
|
||||||
CUST_DIR:=package/customize/source
|
CUST_DIR:=package/customize/source
|
||||||
|
|
||||||
customize:
|
$(BUILD_DIR)/.customize:
|
||||||
-cp -af $(CUST_DIR)/* $(TARGET_DIR)/
|
rm -f $(PROJECT_BUILD_DIR)/series
|
||||||
|
(cd $(CUST_DIR) ; \
|
||||||
|
/bin/ls -d * > $(PROJECT_BUILD_DIR)/series || \
|
||||||
|
touch $(PROJECT_BUILD_DIR)/series )
|
||||||
|
for f in `cat $(PROJECT_BUILD_DIR)/series` ; do \
|
||||||
|
cp -af $(CUST_DIR)/$$f $(TARGET_DIR)/$$f ; \
|
||||||
|
done
|
||||||
|
rm -f $(PROJECT_BUILD_DIR)/series
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
customize: $(BUILD_DIR)/.customize
|
||||||
|
|
||||||
|
customize-clean:
|
||||||
|
rm -f $(BUILD_DIR)/.customize
|
||||||
|
|
||||||
|
.PHONY: customize
|
||||||
#############################################################
|
#############################################################
|
||||||
#
|
#
|
||||||
# Toplevel Makefile options
|
# Toplevel Makefile options
|
||||||
|
|
Loading…
Reference in New Issue