summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-13 07:34:47 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-13 07:34:47 +0000
commite0a6c6ff112edacc3631494792ffa58ca45f6745 (patch)
tree0b9156061ffbe1b5315cd080d9e1602a7fcd4a19
parentacf3e1645dd0bb38179296f0cd6ff1303622326a (diff)
build a compressed kernel image to use with i386 bootloaders
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1619 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/target/linux/linux-2.4/soekris.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/openwrt/target/linux/linux-2.4/soekris.mk b/openwrt/target/linux/linux-2.4/soekris.mk
index 4fa8fff8c..fdfbbf9b9 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