change cp to $(CP)
[openwrt.git] / target / linux / x86-2.4 / Makefile
1 include $(TOPDIR)/rules.mk
2
3 LINUX_VERSION:=2.4.32
4 LINUX_RELEASE:=1
5 LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
6
7 include ../rules.mk
8 include ./config
9
10 $(eval $(call KMOD_template,WD1100,wd1100,\
11 $(MODULES_DIR)/kernel/drivers/char/wd1100.o \
12 ,CONFIG_WD1100))
13
14
15 include ../generic-$(KERNEL)/modules.mk
16 include ../kernel.mk
17
18
19 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
20 [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
21 [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE)
22 @$(CP) config $(LINUX_DIR)/.config
23 touch $@
24
25 $(LINUX_BUILD_DIR)/bzImage: $(LINUX_DIR)/vmlinux
26 $(MAKE) -C $(LINUX_DIR) TOPDIR=$(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage $(MAKE_TRACE)
27 $(CP) $(LINUX_DIR)/arch/i386/boot/bzImage $@
28 touch $@
29
30 compile: $(LINUX_BUILD_DIR)/bzImage
This page took 0.045539 seconds and 5 git commands to generate.