Add mips kernel entry patch
[openwrt.git] / openwrt / target / linux / au1000-2.6 / Makefile
1 include $(TOPDIR)/rules.mk
2
3 LINUX_VERSION:=2.6.16.7
4 LINUX_RELEASE:=1
5 LINUX_KERNEL_MD5SUM:=9682b2bd6e02f3087982d7c3f5ba824e
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)/zImage.flash.srec: $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.flash.srec $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.srec
21 $(MAKE) -C $(LINUX_DIR) V=1 CROSS_COMPILE=$(TARGET_CROSS) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) zImage.flash $(MAKE_TRACE)
22 $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.flash.srec $(LINUX_DIR)/zImage.flash.srec
23 $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.srec $(LINUX_DIR)/zImage.srec
24 touch $@
25
26 compile: $(LINUX_DIR)/vmlinux
This page took 0.067218 seconds and 5 git commands to generate.