summaryrefslogtreecommitdiff
path: root/include/kernel-defaults.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-03 08:28:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-03 08:28:05 +0000
commit3b6b7a2d1ba44030e9b2909914d145b79ad7a1e2 (patch)
treeee5867150087006834a1a4539f5928c1e6b63810 /include/kernel-defaults.mk
parent5e406f0a282871d0e1043bebeb4320de64d1fda0 (diff)
downloadmtk-20170518-3b6b7a2d1ba44030e9b2909914d145b79ad7a1e2.zip
mtk-20170518-3b6b7a2d1ba44030e9b2909914d145b79ad7a1e2.tar.gz
mtk-20170518-3b6b7a2d1ba44030e9b2909914d145b79ad7a1e2.tar.bz2
implement quilt handling for the kernel tree ... and there was much rejoicing!
SVN-Revision: 7474
Diffstat (limited to 'include/kernel-defaults.mk')
-rw-r--r--include/kernel-defaults.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index b9231a9..529b330 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -27,12 +27,11 @@ KERNEL_MAKEOPTS := -C $(LINUX_DIR) \
ARCH="$(LINUX_KARCH)" \
CONFIG_SHELL="$(BASH)"
+# defined in quilt.mk
+Kernel/Patch:=$(Kernel/Patch/Default)
define Kernel/Prepare/Default
bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
- if [ -d $(GENERIC_PLATFORM_DIR)/files ]; then $(CP) $(GENERIC_PLATFORM_DIR)/files/* $(LINUX_DIR)/; fi
- if [ -d $(GENERIC_PLATFORM_DIR)/patches ]; then $(PATCH) $(LINUX_DIR) $(GENERIC_PLATFORM_DIR)/patches; fi
- if [ -d ./files ]; then $(CP) ./files/* $(LINUX_DIR)/; fi
- if [ -d ./patches ]; then $(PATCH) $(LINUX_DIR) ./patches; fi
+ $(Kernel/Patch)
endef
define Kernel/Configure/2.4