diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-01 14:01:31 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-01 14:01:31 +0000 |
commit | 0a4052dd78b729795b10a879b8b18d736900f1f9 (patch) | |
tree | 0319aa35bfb827f5de29af5c3392d2c87194d74d | |
parent | 5af24a0373b96ac1798798e69699ea6b1f59a2b9 (diff) | |
download | mtk-20170518-0a4052dd78b729795b10a879b8b18d736900f1f9.zip mtk-20170518-0a4052dd78b729795b10a879b8b18d736900f1f9.tar.gz mtk-20170518-0a4052dd78b729795b10a879b8b18d736900f1f9.tar.bz2 |
allow people to add files to the rootfs by putting them in $(TOPDIR)/files/
SVN-Revision: 5685
-rw-r--r-- | package/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/Makefile b/package/Makefile index e0483de..34eba4e 100644 --- a/package/Makefile +++ b/package/Makefile @@ -55,6 +55,9 @@ install-targets: base-files-install $(INSTALL_PACKAGES) install: rm -rf $(BUILD_DIR)/root $(MAKE) install-targets + @if [ -d $(TOPDIR)/files ]; then \ + $(CP) $(TOPDIR)/files/. $(BUILD_DIR)/root; \ + fi @( \ cd $(BUILD_DIR)/root; \ for script in ./etc/init.d/*; do \ |