clean up reject files after copying target/linux/*/files to the kernel tree
SVN-Revision: 10722
This commit is contained in:
parent
dd2afbeee3
commit
03354353af
1 changed files with 4 additions and 1 deletions
|
@ -68,7 +68,10 @@ endef
|
||||||
define Kernel/Patch/Default
|
define Kernel/Patch/Default
|
||||||
$(if $(QUILT),rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches)
|
$(if $(QUILT),rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches)
|
||||||
if [ -d $(GENERIC_PLATFORM_DIR)/files ]; then $(CP) $(GENERIC_PLATFORM_DIR)/files/* $(LINUX_DIR)/; fi
|
if [ -d $(GENERIC_PLATFORM_DIR)/files ]; then $(CP) $(GENERIC_PLATFORM_DIR)/files/* $(LINUX_DIR)/; fi
|
||||||
if [ -d ./files ]; then $(CP) ./files/* $(LINUX_DIR)/; fi
|
if [ -d ./files ]; then \
|
||||||
|
$(CP) ./files/* $(LINUX_DIR)/; \
|
||||||
|
find $(LINUX_DIR)/ -name \*.rej | xargs rm -f; \
|
||||||
|
fi
|
||||||
$(call PatchDir,$(GENERIC_PATCH_DIR),generic/)
|
$(call PatchDir,$(GENERIC_PATCH_DIR),generic/)
|
||||||
$(call PatchDir,$(PATCH_DIR),platform/)
|
$(call PatchDir,$(PATCH_DIR),platform/)
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue