X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ea8823c99319e5c11b975d14c95b487d25ec0f3f..7e07eef26e1fa257e28e9419b13fc9ddd76fed7f:/target/linux/x86/image/Makefile diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile index 699dcfe6a..51490fa79 100644 --- a/target/linux/x86/image/Makefile +++ b/target/linux/x86/image/Makefile @@ -9,7 +9,7 @@ include $(INCLUDE_DIR)/image.mk export PATH=$(TARGET_PATH):/sbin -ifeq ($(CONFIG_TARGET_x86_generic),y) +ifneq ($(CONFIG_TARGET_x86_olpc),y) BOOTOPTS=$(strip $(subst ",, $(CONFIG_X86_GRUB_BOOTOPTS))) ROOTPART=$(strip $(subst ",, $(CONFIG_X86_GRUB_ROOTPART))) #"))")) # fix vim's broken syntax highlighting @@ -23,19 +23,19 @@ endif ifeq ($(CONFIG_X86_GRUB_IMAGES),y) ifneq ($(HOST_OS),Darwin) define Image/cmdline/squashfs - block2mtd.block2mtd=$(ROOTPART),65536,rootfs root=/dev/mtdblock0 rootfstype=squashfs + block2mtd.block2mtd=$(ROOTPART),65536,rootfs root=/dev/mtdblock0 rootfstype=squashfs rootwait 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 rootwait 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 rootwait endef define Image/cmdline/ext2 - root=$(ROOTPART) rootfstype=ext2 + root=$(ROOTPART) rootfstype=ext2 rootwait endef define Image/Build/grub @@ -120,14 +120,13 @@ endif define Image/Prepare $(CP) $(LINUX_DIR)/arch/x86/boot/bzImage $(KDIR)/bzImage -ifeq ($(CONFIG_TARGET_x86_generic),y) - $(call Image/Prepare/grub) -endif ifeq ($(CONFIG_TARGET_x86_olpc),y) $(call Image/Prepare/bootscript) +else + $(call Image/Prepare/grub) endif endef - + define Image/Build/squashfs $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) endef