summaryrefslogtreecommitdiff
path: root/packaging/baselibs.conf
blob: 17be965957d08c2fd6ed3132bb48b63eb726a405 (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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
arch i586 targets armv5tel:armv5tel armv6l:armv6l armv7l:armv7l armv7hl:armv7hl armv7nhl:armv7nhl 

cross-armv5tel-gcc-accel
  targettype x86 block!
  targettype 32bit block!
  targettype armv6l block!
  targettype armv7l block!
  targettype armv7hl block!
  targettype armv7nhl block!

  targettype armv5tel autoreqprov off
  targettype armv5tel provides "cross-arm-gcc-accel"
  targettype armv5tel requires "glibc-x86-arm"
  targettype armv5tel requires "gmp-x86-arm"
  targettype armv5tel requires "libgcc-x86-arm"
  targettype armv5tel requires "mpfr-x86-arm"
  targettype armv5tel requires "mpc-x86-arm"
  targettype armv5tel requires "gcc"
  targettype armv5tel requires "gcc-c++"


  targettype armv5tel prefix /emul/ia32-linux
  targettype armv5tel extension -arm
  targettype armv5tel +/
  targettype armv5tel -/usr/lib/debug
  targettype armv5tel -/usr/src/debug
  targettype armv5tel -/usr/share/man
  targettype armv5tel -/usr/share/doc
  targettype armv5tel -/usr/share/locale
  targettype armv5tel requires "tizen-accelerator"
  targettype armv5tel post "#set -x"
  targettype armv5tel post " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
  targettype armv5tel post " export GCCVER_NEW=$(LANG=C <prefix>/usr/bin/gcc --version | head -1 | cut -d" " -f3) "
  targettype armv5tel post " echo \"GCCVER: $GCCVER     GCCVER_NEW: $GCCVER_NEW \" "
  targettype armv5tel post " if test "${GCCVER}" == "${GCCVER_NEW}"; then"
  targettype armv5tel post "  echo "GCC and GCC-accel versions match. Enabling cross-compiler." "
  targettype armv5tel post "  for bin in gcc g++ ; do "
  targettype armv5tel post "   binary="/usr/bin/${bin}" "
  targettype armv5tel post "   if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
  targettype armv5tel post "     mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
  targettype armv5tel post "   else "
  targettype armv5tel post "     echo "${binary} not installed or ${binary}.orig-arm already present !" "
  targettype armv5tel post "   fi "
  targettype armv5tel post "  done "

  targettype armv5tel post "  for bin in cc1 cc1plus ; do "
  targettype armv5tel post "   binary="/usr/libexec/gcc/armv5tel-tizen-linux-gnueabi/$GCCVER/$bin" "
  targettype armv5tel post "   if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
  targettype armv5tel post "     mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv5tel-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
  targettype armv5tel post "   else "
  targettype armv5tel post "     echo "${binary} not installed or ${binary}.orig-arm already present !" "
  targettype armv5tel post "   fi "
  targettype armv5tel post "  done "
  targettype armv5tel post " else"
  targettype armv5tel post "  echo "GCC and GCC-accel versions don't match. Rollback also binutils..." "
  targettype armv5tel post "  for bin in addr2line ar as c++filt gprov ld nm objcopy objdump ranlib readelf size strings strip ; do"  
  targettype armv5tel post "   binary="/usr/bin/${bin}" "  
  targettype armv5tel post "   if test -e ${binary}.orig-arm ; then"  
  targettype armv5tel post "     rm ${binary} && mv ${binary}.orig-arm ${binary}"  
  targettype armv5tel post "   else "  
  targettype armv5tel post "     echo "${binary}.orig-arm not present !" "  
  targettype armv5tel post "   fi "  
  targettype armv5tel post "  done "  
  targettype armv5tel post " fi"

  targettype armv5tel preun " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
  targettype armv5tel preun " for i in gcc g++ ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
  targettype armv5tel preun " for i in cc1 cc1plus ; do cd /usr/libexec/gcc/armv5tel-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "



cross-armv6l-gcc-accel
  targettype x86 block!
  targettype 32bit block!
  targettype armv5tel block!
  targettype armv7l block!
  targettype armv7hl block!
  targettype armv7nhl block!

  targettype armv6l autoreqprov off
  targettype armv6l provides "cross-arm-gcc-accel"
  targettype armv6l requires "glibc-x86-arm"
  targettype armv6l requires "gmp-x86-arm"
  targettype armv6l requires "libgcc-x86-arm"
  targettype armv6l requires "mpfr-x86-arm"
  targettype armv6l requires "mpc-x86-arm"
  targettype armv6l requires "gcc"
  targettype armv6l requires "gcc-c++"


  targettype armv6l prefix /emul/ia32-linux
  targettype armv6l extension -arm
  targettype armv6l +/
  targettype armv6l -/usr/lib/debug
  targettype armv6l -/usr/src/debug
  targettype armv6l -/usr/share/man
  targettype armv6l -/usr/share/doc
  targettype armv6l -/usr/share/locale
  targettype armv6l requires "tizen-accelerator"
  targettype armv6l post "#set -x"
  targettype armv6l post " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
  targettype armv6l post " export GCCVER_NEW=$(LANG=C <prefix>/usr/bin/gcc --version | head -1 | cut -d" " -f3) "
  targettype armv6l post " echo \"GCCVER: $GCCVER     GCCVER_NEW: $GCCVER_NEW \" "
  targettype armv6l post " if test "${GCCVER}" == "${GCCVER_NEW}"; then"
  targettype armv6l post "  echo "GCC and GCC-accel versions match. Enabling cross-compiler." "
  targettype armv6l post "  for bin in gcc g++ ; do "
  targettype armv6l post "   binary="/usr/bin/${bin}" "
  targettype armv6l post "   if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
  targettype armv6l post "     mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
  targettype armv6l post "   else "
  targettype armv6l post "     echo "${binary} not installed or ${binary}.orig-arm already present !" "
  targettype armv6l post "   fi "
  targettype armv6l post "  done "

  targettype armv6l post "  for bin in cc1 cc1plus ; do "
  targettype armv6l post "   binary="/usr/libexec/gcc/armv6l-tizen-linux-gnueabi/$GCCVER/$bin" "
  targettype armv6l post "   if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
  targettype armv6l post "     mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv6l-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
  targettype armv6l post "   else "
  targettype armv6l post "     echo "${binary} not installed or ${binary}.orig-arm already present !" "
  targettype armv6l post "   fi "
  targettype armv6l post "  done "
  targettype armv6l post " else"
  targettype armv6l post "  echo "GCC and GCC-accel versions don't match. Rollback also binutils..." "
  targettype armv6l post "  for bin in addr2line ar as c++filt gprov ld nm objcopy objdump ranlib readelf size strings strip ; do"  
  targettype armv6l post "   binary="/usr/bin/${bin}" "  
  targettype armv6l post "   if test -e ${binary}.orig-arm ; then"  
  targettype armv6l post "     rm ${binary} && mv ${binary}.orig-arm ${binary}"  
  targettype armv6l post "   else "  
  targettype armv6l post "     echo "${binary}.orig-arm not present !" "  
  targettype armv6l post "   fi "  
  targettype armv6l post "  done "  
  targettype armv6l post " fi"

  targettype armv6l preun " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
  targettype armv6l preun " for i in gcc g++ ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
  targettype armv6l preun " for i in cc1 cc1plus ; do cd /usr/libexec/gcc/armv6l-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "



cross-armv7l-gcc-accel
  targettype x86 block!
  targettype 32bit block!
  targettype armv5tel block!
  targettype armv6l block!
  targettype armv7hl block!
  targettype armv7nhl block!

  targettype armv7l autoreqprov off
  targettype armv7l provides "cross-arm-gcc-accel"
  targettype armv7l requires "glibc-x86-arm"
  targettype armv7l requires "gmp-x86-arm"
  targettype armv7l requires "libgcc-x86-arm"
  targettype armv7l requires "mpfr-x86-arm"
  targettype armv7l requires "mpc-x86-arm"
  targettype armv7l requires "gcc"
  targettype armv7l requires "gcc-c++"


  targettype armv7l prefix /emul/ia32-linux
  targettype armv7l extension -arm
  targettype armv7l +/
  targettype armv7l -/usr/lib/debug
  targettype armv7l -/usr/src/debug
  targettype armv7l -/usr/share/man
  targettype armv7l -/usr/share/doc
  targettype armv7l -/usr/share/locale
  targettype armv7l requires "tizen-accelerator"
  targettype armv7l post "#set -x"
  targettype armv7l post " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
  targettype armv7l post " export GCCVER_NEW=$(LANG=C <prefix>/usr/bin/gcc --version | head -1 | cut -d" " -f3) "
  targettype armv7l post " echo \"GCCVER: $GCCVER     GCCVER_NEW: $GCCVER_NEW \" "
  targettype armv7l post " if test "${GCCVER}" == "${GCCVER_NEW}"; then"
  targettype armv7l post "  echo "GCC and GCC-accel versions match. Enabling cross-compiler." "
  targettype armv7l post "  for bin in gcc g++ ; do "
  targettype armv7l post "   binary="/usr/bin/${bin}" "
  targettype armv7l post "   if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
  targettype armv7l post "     mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
  targettype armv7l post "   else "
  targettype armv7l post "     echo "${binary} not installed or ${binary}.orig-arm already present !" "
  targettype armv7l post "   fi "
  targettype armv7l post "  done "

  targettype armv7l post "  for bin in cc1 cc1plus ; do "
  targettype armv7l post "   binary="/usr/libexec/gcc/armv7l-tizen-linux-gnueabi/$GCCVER/$bin" "
  targettype armv7l post "   if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
  targettype armv7l post "     mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv7l-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
  targettype armv7l post "   else "
  targettype armv7l post "     echo "${binary} not installed or ${binary}.orig-arm already present !" "
  targettype armv7l post "   fi "
  targettype armv7l post "  done "
  targettype armv7l post " else"
  targettype armv7l post "  echo "GCC and GCC-accel versions don't match. Rollback also binutils..." "
  targettype armv7l post "  for bin in addr2line ar as c++filt gprov ld nm objcopy objdump ranlib readelf size strings strip ; do"  
  targettype armv7l post "   binary="/usr/bin/${bin}" "  
  targettype armv7l post "   if test -e ${binary}.orig-arm ; then"  
  targettype armv7l post "     rm ${binary} && mv ${binary}.orig-arm ${binary}"  
  targettype armv7l post "   else "  
  targettype armv7l post "     echo "${binary}.orig-arm not present !" "  
  targettype armv7l post "   fi "  
  targettype armv7l post "  done "  
  targettype armv7l post " fi"

  targettype armv7l preun " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
  targettype armv7l preun " for i in gcc g++ ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
  targettype armv7l preun " for i in cc1 cc1plus ; do cd /usr/libexec/gcc/armv7l-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "



cross-armv7hl-gcc-accel
  targettype x86 block!
  targettype 32bit block!
  targettype armv5tel block!
  targettype armv6l block!
  targettype armv7l block!
  targettype armv7nhl block!

  targettype armv7hl autoreqprov off
  targettype armv7hl provides "cross-arm-gcc-accel"
  targettype armv7hl requires "glibc-x86-arm"
  targettype armv7hl requires "gmp-x86-arm"
  targettype armv7hl requires "libgcc-x86-arm"
  targettype armv7hl requires "mpfr-x86-arm"
  targettype armv7hl requires "mpc-x86-arm"
  targettype armv7hl requires "gcc"
  targettype armv7hl requires "gcc-c++"


  targettype armv7hl prefix /emul/ia32-linux
  targettype armv7hl extension -arm
  targettype armv7hl +/
  targettype armv7hl -/usr/lib/debug
  targettype armv7hl -/usr/src/debug
  targettype armv7hl -/usr/share/man
  targettype armv7hl -/usr/share/doc
  targettype armv7hl -/usr/share/locale
  targettype armv7hl requires "tizen-accelerator"
  targettype armv7hl post "#set -x"
  targettype armv7hl post " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
  targettype armv7hl post " export GCCVER_NEW=$(LANG=C <prefix>/usr/bin/gcc --version | head -1 | cut -d" " -f3) "
  targettype armv7hl post " echo \"GCCVER: $GCCVER     GCCVER_NEW: $GCCVER_NEW \" "
  targettype armv7hl post " if test "${GCCVER}" == "${GCCVER_NEW}"; then"
  targettype armv7hl post "  echo "GCC and GCC-accel versions match. Enabling cross-compiler." "
  targettype armv7hl post "  for bin in gcc g++ ; do "
  targettype armv7hl post "   binary="/usr/bin/${bin}" "
  targettype armv7hl post "   if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
  targettype armv7hl post "     mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
  targettype armv7hl post "   else "
  targettype armv7hl post "     echo "${binary} not installed or ${binary}.orig-arm already present !" "
  targettype armv7hl post "   fi "
  targettype armv7hl post "  done "

  targettype armv7hl post "  for bin in cc1 cc1plus ; do "
  targettype armv7hl post "   binary="/usr/libexec/gcc/armv7hl-tizen-linux-gnueabi/$GCCVER/$bin" "
  targettype armv7hl post "   if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
  targettype armv7hl post "     mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv7hl-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
  targettype armv7hl post "   else "
  targettype armv7hl post "     echo "${binary} not installed or ${binary}.orig-arm already present !" "
  targettype armv7hl post "   fi "
  targettype armv7hl post "  done "
  targettype armv7hl post " else"
  targettype armv7hl post "  echo "GCC and GCC-accel versions don't match. Rollback also binutils..." "
  targettype armv7hl post "  for bin in addr2line ar as c++filt gprov ld nm objcopy objdump ranlib readelf size strings strip ; do"  
  targettype armv7hl post "   binary="/usr/bin/${bin}" "  
  targettype armv7hl post "   if test -e ${binary}.orig-arm ; then"  
  targettype armv7hl post "     rm ${binary} && mv ${binary}.orig-arm ${binary}"  
  targettype armv7hl post "   else "  
  targettype armv7hl post "     echo "${binary}.orig-arm not present !" "  
  targettype armv7hl post "   fi "  
  targettype armv7hl post "  done "  
  targettype armv7hl post " fi"

  targettype armv7hl preun " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
  targettype armv7hl preun " for i in gcc g++ ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
  targettype armv7hl preun " for i in cc1 cc1plus ; do cd /usr/libexec/gcc/armv7hl-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "



cross-armv7nhl-gcc-accel
  targettype x86 block!
  targettype 32bit block!
  targettype armv5tel block!
  targettype armv6l block!
  targettype armv7l block!
  targettype armv7hl block!

  targettype armv7nhl autoreqprov off
  targettype armv7nhl provides "cross-arm-gcc-accel"
  targettype armv7nhl requires "glibc-x86-arm"
  targettype armv7nhl requires "gmp-x86-arm"
  targettype armv7nhl requires "libgcc-x86-arm"
  targettype armv7nhl requires "mpfr-x86-arm"
  targettype armv7nhl requires "mpc-x86-arm"
  targettype armv7nhl requires "gcc"
  targettype armv7nhl requires "gcc-c++"


  targettype armv7nhl prefix /emul/ia32-linux
  targettype armv7nhl extension -arm
  targettype armv7nhl +/
  targettype armv7nhl -/usr/lib/debug
  targettype armv7nhl -/usr/src/debug
  targettype armv7nhl -/usr/share/man
  targettype armv7nhl -/usr/share/doc
  targettype armv7nhl -/usr/share/locale
  targettype armv7nhl requires "tizen-accelerator"
  targettype armv7nhl post "#set -x"
  targettype armv7nhl post " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
  targettype armv7nhl post " export GCCVER_NEW=$(LANG=C <prefix>/usr/bin/gcc --version | head -1 | cut -d" " -f3) "
  targettype armv7nhl post " echo \"GCCVER: $GCCVER     GCCVER_NEW: $GCCVER_NEW \" "
  targettype armv7nhl post " if test "${GCCVER}" == "${GCCVER_NEW}"; then"
  targettype armv7nhl post "  echo "GCC and GCC-accel versions match. Enabling cross-compiler." "
  targettype armv7nhl post "  for bin in gcc g++ ; do "
  targettype armv7nhl post "   binary="/usr/bin/${bin}" "
  targettype armv7nhl post "   if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
  targettype armv7nhl post "     mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
  targettype armv7nhl post "   else "
  targettype armv7nhl post "     echo "${binary} not installed or ${binary}.orig-arm already present !" "
  targettype armv7nhl post "   fi "
  targettype armv7nhl post "  done "

  targettype armv7nhl post "  for bin in cc1 cc1plus ; do "
  targettype armv7nhl post "   binary="/usr/libexec/gcc/armv7nhl-tizen-linux-gnueabi/$GCCVER/$bin" "
  targettype armv7nhl post "   if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
  targettype armv7nhl post "     mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv7nhl-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
  targettype armv7nhl post "   else "
  targettype armv7nhl post "     echo "${binary} not installed or ${binary}.orig-arm already present !" "
  targettype armv7nhl post "   fi "
  targettype armv7nhl post "  done "
  targettype armv7nhl post " else"
  targettype armv7nhl post "  echo "GCC and GCC-accel versions don't match. Rollback also binutils..." "
  targettype armv7nhl post "  for bin in addr2line ar as c++filt gprov ld nm objcopy objdump ranlib readelf size strings strip ; do"  
  targettype armv7nhl post "   binary="/usr/bin/${bin}" "  
  targettype armv7nhl post "   if test -e ${binary}.orig-arm ; then"  
  targettype armv7nhl post "     rm ${binary} && mv ${binary}.orig-arm ${binary}"  
  targettype armv7nhl post "   else "  
  targettype armv7nhl post "     echo "${binary}.orig-arm not present !" "  
  targettype armv7nhl post "   fi "  
  targettype armv7nhl post "  done "  
  targettype armv7nhl post " fi"

  targettype armv7nhl preun " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
  targettype armv7nhl preun " for i in gcc g++ ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
  targettype armv7nhl preun " for i in cc1 cc1plus ; do cd /usr/libexec/gcc/armv7nhl-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "