summaryrefslogtreecommitdiffstats
path: root/target/linux/magicbox-2.6/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-19 06:20:55 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-19 06:20:55 +0000
commit043ac6c8ed76ff5a1f3b84a6f2f5f12edfedc93c (patch)
tree595542908e025166da32868ff30aed496acb63c8 /target/linux/magicbox-2.6/Makefile
parent87a3aa153cfe9fb7aff134fc6907a6f62d78046b (diff)
cleanup/rewrite of the kernel build process
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5226 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/magicbox-2.6/Makefile')
-rw-r--r--target/linux/magicbox-2.6/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/target/linux/magicbox-2.6/Makefile b/target/linux/magicbox-2.6/Makefile
index b10715ae7..323eb2c3f 100644
--- a/target/linux/magicbox-2.6/Makefile
+++ b/target/linux/magicbox-2.6/Makefile
@@ -10,12 +10,5 @@ LINUX_VERSION:=2.6.17
LINUX_RELEASE:=1
LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
-include ./config
include $(INCLUDE_DIR)/kernel-build.mk
-
-$(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
- [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
- [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
- @$(CP) config $(LINUX_DIR)/.config
- touch $@
-
+$(eval $(call BuildKernel))