diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-10-21 19:26:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-10-21 19:26:36 +0000 |
commit | 361ef0211c880a56221447c7228784b0e1b17bfa (patch) | |
tree | 12ece8e228012e223bc2235d0f1278271ff654ed /include | |
parent | 8a8ce36fbb2a0714bd2c938be529fa4ec5ba4dfa (diff) | |
download | upstream-361ef0211c880a56221447c7228784b0e1b17bfa.tar.gz upstream-361ef0211c880a56221447c7228784b0e1b17bfa.tar.bz2 upstream-361ef0211c880a56221447c7228784b0e1b17bfa.zip |
fix prepare error with brcm-2.4 and missing files/ (thx, thepeople)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13021 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/quilt.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/quilt.mk b/include/quilt.mk index c569231173..d3233d8238 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -66,9 +66,10 @@ define Build/Patch/Default $(call PatchDir,$(PATCH_DIR),) endef +kernel_files=$(foreach fdir,$(GENERIC_FILES_DIR) $(FILES_DIR),$(fdir)/.) define Kernel/Patch/Default rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches - $(CP) $(foreach fdir,$(GENERIC_FILES_DIR) $(FILES_DIR),$(fdir)/.) $(LINUX_DIR)/ + $(if $(kernel_files),$(CP) $(kernel_files) $(LINUX_DIR)/) find $(LINUX_DIR)/ -name \*.rej -or -name \*.orig | $(XARGS) rm -f $(call PatchDir,$(GENERIC_PATCH_DIR),generic/) $(call PatchDir,$(PATCH_DIR),platform/) |