Lines 183-198
ninj() { [[ ${type} == "kern" ]] && echo
Link Here
|
183 |
bfin*) ninj blackfin bfin;; |
183 |
bfin*) ninj blackfin bfin;; |
184 |
cris*) echo cris;; |
184 |
cris*) echo cris;; |
185 |
hppa*) ninj parisc hppa;; |
185 |
hppa*) ninj parisc hppa;; |
186 |
i?86*) |
186 |
i?86*) ninj i386 x86;; |
187 |
# Starting with linux-2.6.24, the 'x86_64' and 'i386' |
|
|
188 |
# trees have been unified into 'x86'. |
189 |
# FreeBSD still uses i386 |
190 |
if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) || ${host} == *freebsd* ]] ; then |
191 |
echo i386 |
192 |
else |
193 |
echo x86 |
194 |
fi |
195 |
;; |
196 |
ia64*) echo ia64;; |
187 |
ia64*) echo ia64;; |
197 |
m68*) echo m68k;; |
188 |
m68*) echo m68k;; |
198 |
mips*) echo mips;; |
189 |
mips*) echo mips;; |
Lines 227-241
ninj() { [[ ${type} == "kern" ]] && echo
Link Here
|
227 |
|| echo sparc |
218 |
|| echo sparc |
228 |
;; |
219 |
;; |
229 |
vax*) echo vax;; |
220 |
vax*) echo vax;; |
230 |
x86_64*) |
221 |
x86_64*) ninj x86_64 amd64;; |
231 |
# Starting with linux-2.6.24, the 'x86_64' and 'i386' |
|
|
232 |
# trees have been unified into 'x86'. |
233 |
if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.24) ]] ; then |
234 |
echo x86 |
235 |
else |
236 |
ninj x86_64 amd64 |
237 |
fi |
238 |
;; |
239 |
|
222 |
|
240 |
# since our usage of tc-arch is largely concerned with |
223 |
# since our usage of tc-arch is largely concerned with |
241 |
# normalizing inputs for testing ${CTARGET}, let's filter |
224 |
# normalizing inputs for testing ${CTARGET}, let's filter |