credit where credit is due
[openwrt.git] / target / linux / x86-2.4 / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 LINUX_VERSION:=2.4.32
10 LINUX_RELEASE:=1
11 LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
12
13 include ./config
14 include $(INCLUDE_DIR)/kernel.mk
15
16 $(eval $(call KMOD_template,WD1100,wd1100,\
17 $(MODULES_DIR)/kernel/drivers/char/wd1100.o \
18 ,CONFIG_WD1100))
19
20 include $(INCLUDE_DIR)/kernel-build.mk
21
22 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
23 [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
24 [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches
25 @$(CP) config $(LINUX_DIR)/.config
26 touch $@
27
28 $(LINUX_BUILD_DIR)/bzImage: $(LINUX_DIR)/vmlinux
29 $(MAKE) -C $(LINUX_DIR) TOPDIR=$(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage
30 $(CP) $(LINUX_DIR)/arch/i386/boot/bzImage $@
31 touch $@
32
33 compile: $(LINUX_BUILD_DIR)/bzImage
This page took 0.053488 seconds and 5 git commands to generate.