aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel-build.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-build.mk
parent5e406f0a282871d0e1043bebeb4320de64d1fda0 (diff)
downloadupstream-3b6b7a2d1ba44030e9b2909914d145b79ad7a1e2.tar.gz
upstream-3b6b7a2d1ba44030e9b2909914d145b79ad7a1e2.tar.bz2
upstream-3b6b7a2d1ba44030e9b2909914d145b79ad7a1e2.zip
implement quilt handling for the kernel tree ... and there was much rejoicing!
SVN-Revision: 7474
Diffstat (limited to 'include/kernel-build.mk')
-rw-r--r--include/kernel-build.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index e3c532cd1d..71b9d8000f 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -53,6 +53,9 @@ else
)
endif
+STAMP_PREPARED:=$(LINUX_DIR)/.prepared
+STAMP_CONFIGURED:=$(LINUX_DIR)/.configured
+include $(INCLUDE_DIR)/quilt.mk
include $(INCLUDE_DIR)/kernel-defaults.mk
define Kernel/Prepare
@@ -82,13 +85,13 @@ define BuildKernel
$(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_SOURCE) $(LINUX_KERNEL_MD5SUM) $(LINUX_SITE)
endif
- $(LINUX_DIR)/.prepared: $(DL_DIR)/$(LINUX_SOURCE)
+ $(STAMP_PREPARED): $(DL_DIR)/$(LINUX_SOURCE)
-rm -rf $(KERNEL_BUILD_DIR)
-mkdir -p $(KERNEL_BUILD_DIR)
$(call Kernel/Prepare)
touch $$@
- $(LINUX_DIR)/.configured: $(LINUX_DIR)/.prepared $(LINUX_CONFIG)
+ $(STAMP_CONFIGURED): $(LINUX_DIR)/.prepared $(LINUX_CONFIG)
$(call Kernel/Configure)
touch $$@