summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-standalone/gcc/gcc-xilinx-standalone.inc
blob: 113067a44315babe3fc152285a42975288f2e0bb (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# This inc file contains common configuration used for GCC for several
# MACHINES when using xilinx-standalone a DISTRO.
# This should be applicable to both cross and cross-canadian toolchain.


# By using tclibc-newlib we loose sysroot functionality due to some
# append/override behavior We need to get that back , the following append
# overrides everything on EXTRA_OECONF for gcc cross target it avoids
# overlapping with crt0 because of --enable-linker-id from EXTRA_OECONF

GCC_CONFIGURE_COMMON_XILINX_STANDALONE = " \
	--disable-libmudflap \
	--disable-libstdcxx-pch \
	--disable-nls \
	--enable-languages=${LANGUAGES} \
	--with-newlib \
"


GCC_CONFIGURE_A53 ?= " \
        --disable-bootstrap \
        --disable-multiarch \
        --disable-threads \
        --enable-c99 \
        --enable-checking=yes \
        --enable-fix-cortex-a53-835769 \
        --enable-fix-cortex-a53-843419 \
        --enable-linker-build-id \
        --enable-long-long \
        --enable-lto \
        --enable-plugins \
        --enable-shared \
        --with-arch=armv8-a \
        --with-cloog=no \
        --with-gnu-as \
        --with-gnu-ld \
        --with-isl=no \
        --with-ppl=no \
"



BINUTILS_CONFIGURE_A53 ?= " \
	--disable-gprof \
	--disable-libdecnumber \
	--disable-readline \
	--disable-shared \
	--enable-lto \
	--enable-static \
"
GCC_CONFIGURE_A72 ?= " \
        --disable-bootstrap \
        --disable-multiarch \
        --disable-threads \
        --enable-c99 \
        --enable-checking=yes \
        --enable-linker-build-id \
        --enable-long-long \
        --enable-lto \
	--enable-multilib \
        --enable-plugins \
        --enable-shared \
	--enable-threads=no \
        --with-cloog=no \
        --with-gnu-as \
        --with-gnu-ld \
        --with-isl=no \
	--with-ppl=no \
"
BINUTILS_CONFIGURE_A72 ?= " \
	--disable-gprof \
	--disable-libdecnumber \
	--disable-readline \
	--disable-shared \
	--enable-lto \
	--enable-static \
"



GCC_CONFIGURE_R5 ?= " \
        --disable-decimal-float \
        --disable-libffi \
        --disable-libgomp \
        --disable-libquadmath \
        --disable-libssp \
        --disable-shared \
        --disable-threads \
        --disable-tls \
        --enable-plugins \
        --with-gnu-as \
        --with-gnu-ld \
        --with-headers=yes \
        --with-host-libstdcxx=-static-libgcc \
         --with-multilib-list=rmprofile \
"
BINUTILS_CONFIGURE_R5 ?= " \
	--disable-docs \
	--disable-nls \
	--enable-interwork \
"


GCC_CONFIGURE_MB ?= " \
        --disable-__cxa_atexit \
        --disable-libgomp \
        --disable-shared \
        --enable-lto \
        --enable-target-optspace \
        --enable-threads=no \
        --with-isl=no \
        --with-ppl=no \
        --without-long-double-128 \
"
BINUTILS_CONFIGURE_MB ?= " \
	--disable-initfini-array \
	--disable-nls \
	--enable-gold=no \
	--enable-ld=yes \
	--enable-multilib \
"