2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
11 LINUX_KERNEL_MD5SUM
:=38f4d0830e95a20f4bfed17622d5557c
14 include $(INCLUDE_DIR
)/kernel.mk
16 $(eval
$(call KMOD_template
,WD1100
,wd1100
,\
17 $(MODULES_DIR
)/kernel
/drivers
/char
/wd1100.o \
20 include $(INCLUDE_DIR
)/kernel-build.mk
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
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
$@
33 compile
: $(LINUX_BUILD_DIR
)/bzImage