* 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
--- /dev/null
+TARGET_CC_ARCH = "-mips2"
#@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
TARGET_ARCH = "mipsel"
MACHINE_FEATURES = "kernel26 usbhost wifi ext2"
-TARGET_CC_ARCH = "-Os -mips2"
+include conf/machine/include/mips2.inc
#@DESCRIPTION: Machine configuration for the MIPS based WRT54G(S) devices
TARGET_ARCH = "mipsel"
-TARGET_CC_ARCH = "-Os"
SERIAL_CONSOLE = "tts/0"
# 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"