Changeset 10ae124c in rtems
- Timestamp:
- Apr 5, 2004, 6:12:14 AM (17 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 411b065
- Parents:
- 7220366a
- Location:
- cpukit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r7220366a r10ae124c 1 2004-04-05 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * configure.ac: Add AC_CHECK_SIZEOF([CPU_CONTEXT]..). 4 Add SIZEOF_CPU_CONTEXT to cpuopts.h. 5 Add RTEMS_PROG_CCAS. 6 * acinclude.m4: Use unquoted "here" document to propagate $3 to 7 cpuopts.tmp. 8 1 9 2004-04-02 Ralf Corsepius <ralf_corsepius@rtems.org> 2 10 -
cpukit/acinclude.m4
r7220366a r10ae124c 4 4 [ 5 5 if $2; then 6 cat >>cpuopts.tmp << \_ACEOF6 cat >>cpuopts.tmp <<_ACEOF 7 7 8 8 /* $4 */ -
cpukit/configure.ac
r7220366a r10ae124c 33 33 34 34 RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) 35 RTEMS_PROG_CCAS 35 36 RTEMS_CANONICALIZE_TOOLS 36 37 AM_PROG_CC_C_O … … 90 91 AC_CHECK_FUNCS([isascii fileno]) 91 92 93 AS_IF([test x"${RTEMS_CPU}" = x"unix"],[ 94 ## The code fragment below had been used in tools/cpu/unix/gensize.c. 95 ## FIXME: 96 ## * The pad very likely is not necessary. 97 AC_CHECK_SIZEOF([CPU_CONTEXT],[],[ 98 #include <stdio.h> 99 #include <setjmp.h> 100 101 typedef struct { 102 jmp_buf regs; 103 int isr_level; 104 int pad[4]; /* just in case */ 105 } CPU_CONTEXT; 106 ]) 107 ]) 108 92 109 cat >>cpuopts.tmp <<\_ACEOF 93 110 /* target cpu dependent options file */ … … 146 163 ["]_RTEMS_VERSION["], 147 164 [RTEMS version string]) 165 166 RTEMS_CPUOPT([SIZEOF_CPU_CONTEXT], 167 [test x"$RTEMS_CPU" = x"unix"], 168 [$ac_cv_sizeof_CPU_CONTEXT], 169 [The size of a 'CPU_CONTEXT', as computed by sizeof]) 148 170 149 171 cat >>cpuopts.tmp <<\_ACEOF
Note: See TracChangeset
for help on using the changeset viewer.