1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:48:27 +02:00

allow people to add files to the rootfs by putting them in $(TOPDIR)/files/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5685 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-12-01 14:01:31 +00:00
parent 2a6a038b87
commit e3975714e7

View File

@ -55,6 +55,9 @@ install-targets: base-files-install $(INSTALL_PACKAGES)
install: install:
rm -rf $(BUILD_DIR)/root rm -rf $(BUILD_DIR)/root
$(MAKE) install-targets $(MAKE) install-targets
@if [ -d $(TOPDIR)/files ]; then \
$(CP) $(TOPDIR)/files/. $(BUILD_DIR)/root; \
fi
@( \ @( \
cd $(BUILD_DIR)/root; \ cd $(BUILD_DIR)/root; \
for script in ./etc/init.d/*; do \ for script in ./etc/init.d/*; do \