aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86-2.6/image
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-02 17:12:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-02 17:12:23 +0000
commit983544f859e946494b3029a41bb7880b93c46037 (patch)
tree053a70649f5a578453bf810c0a68c50b2d2aa4ac /target/linux/x86-2.6/image
parentd1944110c85c6b94c75eb825a2d647eebaaee9c2 (diff)
downloadupstream-983544f859e946494b3029a41bb7880b93c46037.tar.gz
upstream-983544f859e946494b3029a41bb7880b93c46037.tar.bz2
upstream-983544f859e946494b3029a41bb7880b93c46037.zip
copy the initramfs kernel to bin/ on x86-2.6 (fixes #1359)
SVN-Revision: 6463
Diffstat (limited to 'target/linux/x86-2.6/image')
-rw-r--r--target/linux/x86-2.6/image/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/x86-2.6/image/Makefile b/target/linux/x86-2.6/image/Makefile
index e59446472e..9c26d6851c 100644
--- a/target/linux/x86-2.6/image/Makefile
+++ b/target/linux/x86-2.6/image/Makefile
@@ -75,6 +75,10 @@ define Image/Build/squashfs
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
endef
+define Image/BuildKernel
+ $(CP) $(KDIR)/bzImage $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz
+endef
+
define Image/Build
$(call Image/Build/$(1))
$(call Image/Build/grub,$(1))