change the way ./files* and the generic kernel files are applied. ./files now applies to *ALL* kernel versions, and is copied along with ./files-* - this gets rid of quite a bit of redundancy in the extra kernel drivers.
SVN-Revision: 13010
This commit is contained in:
@@ -68,11 +68,8 @@ endef
|
||||
|
||||
define Kernel/Patch/Default
|
||||
rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches
|
||||
if [ -d $(GENERIC_FILES_DIR) ]; then $(CP) $(GENERIC_FILES_DIR)/* $(LINUX_DIR)/; fi
|
||||
if [ -d $(FILES_DIR) ]; then \
|
||||
$(CP) $(FILES_DIR)/* $(LINUX_DIR)/; \
|
||||
find $(LINUX_DIR)/ -name \*.rej | xargs rm -f; \
|
||||
fi
|
||||
$(CP) $(foreach fdir,$(GENERIC_FILES_DIR) $(FILES_DIR),$(fdir)/.) $(LINUX_DIR)/
|
||||
find $(LINUX_DIR)/ -name \*.rej -or -name \*.orig | $(XARGS) rm -f
|
||||
$(call PatchDir,$(GENERIC_PATCH_DIR),generic/)
|
||||
$(call PatchDir,$(PATCH_DIR),platform/)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user