summaryrefslogtreecommitdiff
path: root/target/qemu-mips
diff options
context:
space:
mode:
Diffstat (limited to 'target/qemu-mips')
-rw-r--r--target/qemu-mips/device.mk2
-rw-r--r--target/qemu-mips/kernel.config2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/qemu-mips/device.mk b/target/qemu-mips/device.mk
index febb0b496..fce11a237 100644
--- a/target/qemu-mips/device.mk
+++ b/target/qemu-mips/device.mk
@@ -3,5 +3,5 @@ CPU_ARCH:= mips
KERNEL_VERSION:= 2.6.30.5
KERNEL_RELEASE:= 1
KERNEL_MD5SUM:= be9c3a697a54ac099c910d068ff0dc03
-TARGET_OPTIMIZATION:= -O2 -pipe
+TARGET_OPTIMIZATION:= -Os -pipe
TARGET_CFLAGS_ARCH:= -march=mips32 -mabi=32
diff --git a/target/qemu-mips/kernel.config b/target/qemu-mips/kernel.config
index d88cbf633..3a08ae870 100644
--- a/target/qemu-mips/kernel.config
+++ b/target/qemu-mips/kernel.config
@@ -889,7 +889,7 @@ CONFIG_MAGIC_SYSRQ=y
# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
-CONFIG_CMDLINE="init=/init console=ttyS0,115200 console=tty0"
+CONFIG_CMDLINE="console=ttyS0,115200 console=tty0"
#
# Security options