]> git.openpandora.org Git - openembedded.git/commitdiff
conf/machine: do qa for some mips machine recipes
authorHenning Heinold <heinold@inf.fu-berlin.de>
Sat, 17 May 2008 16:28:16 +0000 (16:28 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Sat, 17 May 2008 16:28:16 +0000 (16:28 +0000)
* add conf/machine/include/tune-mips2.inc
* let rb500.conf and wl500g.conf include it
* remove TARGET_CC_ARCH from all recipes, it should be set at distribution
  level

conf/machine/include/tune-mips2.inc [new file with mode: 0644]
conf/machine/rb500.conf
conf/machine/wl500g.conf
conf/machine/wrt54.conf

diff --git a/conf/machine/include/tune-mips2.inc b/conf/machine/include/tune-mips2.inc
new file mode 100644 (file)
index 0000000..b10d65f
--- /dev/null
@@ -0,0 +1 @@
+TARGET_CC_ARCH = "-mips2"
index e17ca31bcb216ef407c1b2a6d62e9bcc80265787..30676b2fc480ce977cf2d29b87a59aa4dcfd212e 100644 (file)
@@ -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
index f2e4006a8fce83913666d7d8e60b233f9080fe7d..5ed227dfa376b6bcdfcccca8735819938f634d3c 100644 (file)
@@ -5,4 +5,4 @@
 TARGET_ARCH = "mipsel"
 MACHINE_FEATURES = "kernel26 usbhost wifi ext2"
 
-TARGET_CC_ARCH = "-Os -mips2"
+include conf/machine/include/mips2.inc
index f61570a95003b891d48bf595e37a7164cfc7a9b0..1b07df26663c31a1db5b84b3d42cd1451bfbf4cd 100644 (file)
@@ -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"