fix prepare error with brcm-2.4 and missing files/ (thx, thepeople)
SVN-Revision: 13021
This commit is contained in:
parent
6585073a04
commit
40b5e7a30d
1 changed files with 2 additions and 1 deletions
|
@ -66,9 +66,10 @@ define Build/Patch/Default
|
||||||
$(call PatchDir,$(PATCH_DIR),)
|
$(call PatchDir,$(PATCH_DIR),)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
kernel_files=$(foreach fdir,$(GENERIC_FILES_DIR) $(FILES_DIR),$(fdir)/.)
|
||||||
define Kernel/Patch/Default
|
define Kernel/Patch/Default
|
||||||
rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches
|
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
|
find $(LINUX_DIR)/ -name \*.rej -or -name \*.orig | $(XARGS) rm -f
|
||||||
$(call PatchDir,$(GENERIC_PATCH_DIR),generic/)
|
$(call PatchDir,$(GENERIC_PATCH_DIR),generic/)
|
||||||
$(call PatchDir,$(PATCH_DIR),platform/)
|
$(call PatchDir,$(PATCH_DIR),platform/)
|
||||||
|
|
Loading…
Reference in a new issue