change cp to $(CP)
[openwrt.git] / target / linux / x86-2.6 / Makefile
1 include $(TOPDIR)/rules.mk
2
3 LINUX_VERSION:=2.6.15.1
4 LINUX_RELEASE:=1
5 LINUX_KERNEL_MD5SUM:=3a71f70fecf25a893bb95efaa37f575c
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)/arch/i386/boot/bzImage $@
23 touch $@
24
25 compile: $(LINUX_BUILD_DIR)/bzImage
This page took 0.040282 seconds and 5 git commands to generate.