From: Felix Fietkau Date: Fri, 1 Dec 2006 14:01:31 +0000 (+0000) Subject: allow people to add files to the rootfs by putting them in $(TOPDIR)/files/ X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0a4052dd78b729795b10a879b8b18d736900f1f9;p=librecmc%2Flibrecmc.git allow people to add files to the rootfs by putting them in $(TOPDIR)/files/ SVN-Revision: 5685 --- diff --git a/package/Makefile b/package/Makefile index e0483deb59..34eba4e3b1 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 \