aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-core/newlib/newlib_%.bbappend
blob: 716ba7467d25a0dcfa6dcd33504c70ffed4dda8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
COMPATIBLE_HOST:xilinx-standalone = ".*-elf"
COMPATIBLE_HOST:arm:xilinx-standalone = "[^-]*-[^-]*-eabi"

EXTRA_OECONF:append:xilinx-standalone = " \
	--enable-newlib-io-c99-formats \
	--enable-newlib-io-long-long \
	--enable-newlib-io-float \
	--enable-newlib-io-long-double \
"

# Avoid trimmping CCARGS from CC by newlib configure
do_configure:prepend:xilinx-standalone(){
    export CC_FOR_TARGET="${CC}"
}