X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7c83e47d36ea3d9332112ff0ef83c736032eb52c..e48d2ec30ce461ec77c811913026bdf466d6ad8f:/package/Makefile diff --git a/package/Makefile b/package/Makefile index e0483deb5..eafd8cbe6 100644 --- a/package/Makefile +++ b/package/Makefile @@ -51,10 +51,13 @@ download: $(DOWNLOAD_PACKAGES) compile-targets: $(COMPILE_PACKAGES) compile: $(MAKE) compile-targets -install-targets: base-files-install $(INSTALL_PACKAGES) +install-targets: $(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 \