aboutsummaryrefslogtreecommitdiffstats
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
commit8f9dcd2502d121c0a1668fcedbbba70c56c36f7b (patch)
tree86dc20300a280d517e2263a712e5dd2ec8432537
parent924497cbdbf6567f38221b32d0cfe18b6dc42220 (diff)
downloadupstream-8f9dcd2502d121c0a1668fcedbbba70c56c36f7b.tar.gz
upstream-8f9dcd2502d121c0a1668fcedbbba70c56c36f7b.tar.bz2
upstream-8f9dcd2502d121c0a1668fcedbbba70c56c36f7b.zip
copy the initramfs kernel to bin/ on x86-2.6 (fixes #1359)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6463 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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))