X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/1ebe6d34880d1e26b37fe4f794b5039a8245e750..bc8948517fbeec1074bf693e4cdf204504df93c2:/target/linux/x86-2.6/image/Makefile?ds=sidebyside diff --git a/target/linux/x86-2.6/image/Makefile b/target/linux/x86-2.6/image/Makefile index e59446472..7c98ea8e4 100644 --- a/target/linux/x86-2.6/image/Makefile +++ b/target/linux/x86-2.6/image/Makefile @@ -27,15 +27,15 @@ ifeq ($(CONFIG_X86_GRUB_IMAGES),y) endef define Image/cmdline/jffs2-64k - block2mtd.block2mtd=$(ROOTPART),65536,rootfs root=/dev/mtdblock0 rootfstype=jffs2 + block2mtd.block2mtd=$(ROOTPART),65536,rootfs root=/dev/mtdblock0 rootfstype=jffs2 init=/etc/preinit endef define Image/cmdline/jffs2-128k - block2mtd.block2mtd=$(ROOTPART),131072,rootfs root=/dev/mtdblock0 rootfstype=jffs2 + block2mtd.block2mtd=$(ROOTPART),131072,rootfs root=/dev/mtdblock0 rootfstype=jffs2 init=/etc/preinit endef define Image/cmdline/ext2 - root=$(ROOTPART) rootfstype=ext2 + root=$(ROOTPART) rootfstype=ext2 init=/etc/preinit endef define Image/Build/grub @@ -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))