From 0c41f8901514ef16c40f464bac3a30964f094489 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sat, 13 Aug 2005 07:34:47 +0000 Subject: [PATCH] build a compressed kernel image to use with i386 bootloaders SVN-Revision: 1619 --- openwrt/target/linux/linux-2.4/soekris.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openwrt/target/linux/linux-2.4/soekris.mk b/openwrt/target/linux/linux-2.4/soekris.mk index 4fa8fff8cf..fdfbbf9b96 100644 --- a/openwrt/target/linux/linux-2.4/soekris.mk +++ b/openwrt/target/linux/linux-2.4/soekris.mk @@ -9,3 +9,10 @@ $(eval $(call KMOD_template,WD1100,wd1100,\ $(MODULES_DIR)/kernel/drivers/char/wd1100.o \ ,CONFIG_WD1100)) + +$(LINUX_BUILD_DIR)/bzImage: $(LINUX_DIR)/vmlinux + $(MAKE) -C $(LINUX_DIR) TOPDIR=$(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) bzImage + cp -f $(LINUX_DIR)/arch/i386/boot/bzImage $@ + touch $@ + +compile: $(LINUX_BUILD_DIR)/bzImage