4.115
Last change
on this file since e493e2a8 was
38d1150,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/25/11 at 06:17:36
|
2011-02-25 Ralf Corsépius <ralf.corsepius@…>
- aclocal/canonical-target-name.m4:
Stop pretending no_cpu* was buildable.
Derive RTEMS_CPU from "$host_cpu".
Error out if "$host" doesn't match "*-*-rtems*".
|
-
Property mode set to
100644
|
File size:
594 bytes
|
Line | |
---|
1 | dnl |
---|
2 | dnl $Id$ |
---|
3 | dnl |
---|
4 | |
---|
5 | dnl canonicalize target cpu |
---|
6 | dnl NOTE: Most rtems targets do not fullfil autoconf's |
---|
7 | dnl target naming conventions "processor-vendor-os" |
---|
8 | dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them |
---|
9 | dnl and we have to fix it for rtems ourselves |
---|
10 | |
---|
11 | AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU], |
---|
12 | [AC_REQUIRE([AC_CANONICAL_HOST]) |
---|
13 | AC_MSG_CHECKING(rtems target cpu) |
---|
14 | case "${host}" in |
---|
15 | *-*-rtems*) |
---|
16 | RTEMS_CPU="$host_cpu";; |
---|
17 | *) |
---|
18 | ;; |
---|
19 | esac |
---|
20 | AS_IF([test -n "$RTEMS_CPU"], |
---|
21 | [dnl |
---|
22 | AC_MSG_RESULT($RTEMS_CPU)], |
---|
23 | [dnl |
---|
24 | AC_MSG_RESULT([<none>]) |
---|
25 | AC_MSG_ERROR([unsupported host $host])]) |
---|
26 | AC_SUBST(RTEMS_CPU) |
---|
27 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.