Linux 2.6.16.4 *sigh*
[openwrt/openwrt.git] / openwrt / target / linux / au1000-2.6 / Makefile
1 include $(TOPDIR)/rules.mk
2
3 LINUX_VERSION:=2.6.16.4
4 LINUX_RELEASE:=1
5 LINUX_KERNEL_MD5SUM:=cb675279c9711237a06ebb8379a4da27
6
7 include ../rules.mk
8 include ./config
9
10 include ../generic-$(KERNEL)/modules.mk
11 include ../kernel.mk
12
13
14 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
15 [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
16 [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
17 @$(CP) config $(LINUX_DIR)/.config
18 touch $@
19
20 $(LINUX_BUILD_DIR)/bzImage: $(LINUX_DIR)/vmlinux
21 $(MAKE) -C $(LINUX_DIR) V=1 CROSS_COMPILE=$(TARGET_CROSS) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage $(MAKE_TRACE)
22 $(CP) $(LINUX_DIR)/vmlinux $@
23 touch $@
24
25 compile: $(LINUX_DIR)/vmlinux