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
:=37ddefe96625502161f075b9d907f21e
14 include $(INCLUDE_DIR
)/kernel.mk
15 include $(INCLUDE_DIR
)/kernel-build.mk
17 $(LINUX_DIR
)/.patched
: $(LINUX_DIR
)/.unpacked
18 [ -d ..
/generic-
$(KERNEL
)/patches
] && $(PATCH
) $(LINUX_DIR
) ..
/generic-
$(KERNEL
)/patches
19 [ -d .
/patches
] && $(PATCH
) $(LINUX_DIR
) .
/patches
20 @
$(CP
) config
$(LINUX_DIR
)/.config
23 $(LINUX_BUILD_DIR
)/bzImage
: $(LINUX_DIR
)/vmlinux
24 $(MAKE
) -C
$(LINUX_DIR
) V
=1 CROSS_COMPILE
=$(TARGET_CROSS
) ARCH
=$(LINUX_KARCH
) PATH
=$(TARGET_PATH
) bzImage
25 $(CP
) $(LINUX_DIR
)/arch
/i386
/boot
/bzImage
$@
28 compile
: $(LINUX_BUILD_DIR
)/bzImage