add INCLUDE_DIR variable for $(TOPDIR)/include
[openwrt.git] / target / linux / x86-2.6 / Makefile
1 include $(TOPDIR)/rules.mk
2
3 LINUX_VERSION:=2.6.17
4 LINUX_RELEASE:=1
5 LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
6
7 include ./config
8 include $(INCLUDE_DIR)/kernel.mk
9 include $(INCLUDE_DIR)/kernel-build.mk
10
11 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
12 [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
13 [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches
14 @$(CP) config $(LINUX_DIR)/.config
15 touch $@
16
17 $(LINUX_BUILD_DIR)/bzImage: $(LINUX_DIR)/vmlinux
18 $(MAKE) -C $(LINUX_DIR) V=1 CROSS_COMPILE=$(TARGET_CROSS) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage
19 $(CP) $(LINUX_DIR)/arch/i386/boot/bzImage $@
20 touch $@
21
22 compile: $(LINUX_BUILD_DIR)/bzImage
This page took 0.057991 seconds and 5 git commands to generate.