From: Nicolas Thill Date: Sat, 13 Aug 2005 07:34:47 +0000 (+0000) Subject: build a compressed kernel image to use with i386 bootloaders X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0c41f8901514ef16c40f464bac3a30964f094489;p=librecmc%2Flibrecmc.git build a compressed kernel image to use with i386 bootloaders SVN-Revision: 1619 --- 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