summaryrefslogtreecommitdiffstats
path: root/target/linux
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
commit9160c7163e19496922007f96598c0fed302b9368 (patch)
treec1aae9e38754e6255bd180e359f9fe0cbd07a60b /target/linux
parent11e5eaa1d553b3ea33e87f9cc5aab044acdbfa2a (diff)
build a compressed kernel image to use with i386 bootloaders
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1619 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/linux-2.4/soekris.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/linux-2.4/soekris.mk b/target/linux/linux-2.4/soekris.mk
index 4fa8fff8c..fdfbbf9b9 100644
--- a/target/linux/linux-2.4/soekris.mk
+++ b/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