improve dependency handling, fix some package makefile bugs
[openwrt.git] / target / linux / x86-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
16 [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches
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
22 $(CP) $(LINUX_DIR)/arch/i386/boot/bzImage $@
23 touch $@
24
25 compile: $(LINUX_BUILD_DIR)/bzImage
This page took 0.0482 seconds and 5 git commands to generate.