4.104.114.84.95
Line | |
---|
1 | dnl |
---|
2 | dnl $Id$ |
---|
3 | dnl |
---|
4 | |
---|
5 | dnl canonicalize target name |
---|
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_MSG_CHECKING(rtems target cpu) |
---|
13 | changequote(<<, >>)dnl |
---|
14 | target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` |
---|
15 | changequote([, ])dnl |
---|
16 | AC_MSG_RESULT($target_cpu) |
---|
17 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.