summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-05-17 19:55:06 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-05-17 19:55:06 +0000
commitc9f6c8a89dbbfd4178d8c097f4f91a344e71d6f0 (patch)
tree6bb0475d4ffd0b57faa90b04b2f96cf16e62d69f /conf
parent4209bffde9b7dc5044a0b293873347fe5734e908 (diff)
parent541b9cb7c4a88f951a82b3fdadbd1e04806679be (diff)
merge of '011ea838b318e8da2d5c0f2a9d9a8a41c2096ceb'
and 'ed0aa1600b77c27c385bdb61f6e9728aa499015b'
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/include/tune-mips2.inc1
-rw-r--r--conf/machine/rb500.conf3
-rw-r--r--conf/machine/wl500g.conf2
-rw-r--r--conf/machine/wrt54.conf3
4 files changed, 5 insertions, 4 deletions
diff --git a/conf/machine/include/tune-mips2.inc b/conf/machine/include/tune-mips2.inc
new file mode 100644
index 0000000000..b10d65f23d
--- /dev/null
+++ b/conf/machine/include/tune-mips2.inc
@@ -0,0 +1 @@
+TARGET_CC_ARCH = "-mips2"
diff --git a/conf/machine/rb500.conf b/conf/machine/rb500.conf
index e17ca31bcb..30676b2fc4 100644
--- a/conf/machine/rb500.conf
+++ b/conf/machine/rb500.conf
@@ -3,5 +3,6 @@
#@DESCRIPTION: Machine configuration for the MIPS based Routerboard
TARGET_ARCH = "mipsel"
-TARGET_CC_ARCH = "-Os -mips2"
PREFERRED_PROVIDER_virtual/kernel = "linux-rb500"
+
+include conf/machine/include/tune-mips2.inc
diff --git a/conf/machine/wl500g.conf b/conf/machine/wl500g.conf
index f2e4006a8f..5ed227dfa3 100644
--- a/conf/machine/wl500g.conf
+++ b/conf/machine/wl500g.conf
@@ -5,4 +5,4 @@
TARGET_ARCH = "mipsel"
MACHINE_FEATURES = "kernel26 usbhost wifi ext2"
-TARGET_CC_ARCH = "-Os -mips2"
+include conf/machine/include/mips2.inc
diff --git a/conf/machine/wrt54.conf b/conf/machine/wrt54.conf
index f61570a950..1b07df2666 100644
--- a/conf/machine/wrt54.conf
+++ b/conf/machine/wrt54.conf
@@ -3,7 +3,6 @@
#@DESCRIPTION: Machine configuration for the MIPS based WRT54G(S) devices
TARGET_ARCH = "mipsel"
-TARGET_CC_ARCH = "-Os"
SERIAL_CONSOLE = "tts/0"
@@ -31,4 +30,4 @@ INHERIT += "wrt-image"
# strip even more:
# would be nice but breaks automatic shared library dependencies
#DEPENDS_prepend = "${@["elfkickers-native ", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
-#export STRIP = "sstrip" \ No newline at end of file
+#export STRIP = "sstrip"