summaryrefslogtreecommitdiffstats
path: root/openwrt/toolchain/Config.in
blob: a6fb858353d1f3aa6059d450a40afd86424a94e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#

source "toolchain/uClibc/Config.in"
source "toolchain/binutils/Config.in"
source "toolchain/gcc/Config.in"

if CONFIG_DEVEL
	comment "Common Toolchain Options"
endif

config BR2_ENABLE_MULTILIB
	bool
	default n

config BR2_LARGEFILE
	bool
	depends on !BR2_cris
	default y

config BR2_SOFT_FLOAT
	bool
	default n
	depends on BR2_arm || BR2_mips || BR2_powerpc

config BR2_TARGET_OPTIMIZATION
	string
	default "-Os -pipe -march=i486 -funit-at-a-time" if BR2_i386
	default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if BR2_mipsel || BR2_mips
	default "-Os -pipe -mcpu=xscale -funit-at-a-time" if BR2_armeb
	default "-Os -pipe -funit-at-a-time"