Changeset f31a078 in rtems
- Timestamp:
- Aug 29, 2002, 3:59:05 PM (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- af16d17d
- Parents:
- b88e366
- Location:
- cpukit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
rb88e366 rf31a078 1 2002-08-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * score/include/Makefile.am: Remove cpuopt.h generation. 4 * configure.ac: Correct package name. 5 Don't build ada if POSIX is disabled. 6 Generate cpuopt.h on the fly, filter out autoconf-2.53 PACKAGE crap. 7 1 8 2002-08-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 9 -
cpukit/configure.ac
rb88e366 rf31a078 4 4 5 5 AC_PREREQ(2.52) 6 AC_INIT([rtems-c -src-exec],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])6 AC_INIT([rtems-cpukit],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com]) 7 7 AC_CONFIG_SRCDIR([score]) 8 8 RTEMS_TOP(..) … … 86 86 AC_ARG_ENABLE([ada],[enable ada support]) 87 87 AS_IF([test x"$enable_ada" = x"yes"],[ 88 AS_IF([test -d ${srcdir}/ada],[88 AS_IF([test x"$HAS_POSIX_API" = x"yes"],[ 89 89 AC_CONFIG_SUBDIRS([ada]) 90 90 ]) … … 109 109 ) 110 110 111 AM_CONFIG_HEADER(score/include/rtems/score/cpuopts-tmp.h) 111 112 AM_CONFIG_HEADER([score/include/rtems/score/cpuopts-tmp.h],[ 113 echo "/* target cpu dependent options file */" >$tmp/config.h 114 echo "/* automatically generated -- DO NOT EDIT!! */" >>$tmp/config.h 115 echo >>$tmp/config.h 116 echo "#ifndef __CPU_OPTIONS_h" >>$tmp/config.h 117 echo "#define __CPU_OPTIONS_h" >>$tmp/config.h 118 echo >>$tmp/config.h 119 sed -e '/.*PACKAGE.*/d' score/include/rtems/score/cpuopts-tmp.h >> $tmp/config.h 120 echo >>$tmp/config.h 121 echo "#endif" >>$tmp/config.h 122 AS_IF([cmp -s score/include/rtems/score/cpuopts.h $tmp/config.h 2>/dev/null], 123 [AC_MSG_NOTICE([score/include/rtems/score/cpuopts.h is unchanged]) 124 rm -f $tmp/config.h], 125 [AC_MSG_NOTICE([creating score/include/rtems/score/cpuopts.h]) 126 rm -f score/include/rtems/score/cpuopts.h 127 mv $tmp/config.h score/include/rtems/score/cpuopts.h]) 128 ]) 112 129 113 130 AC_ENABLE_MULTILIB([Makefile],[..]) -
cpukit/score/include/Makefile.am
rb88e366 rf31a078 47 47 $(include_rtems_score_HEADERS:%=$(PROJECT_INCLUDE)/%) 48 48 49 # make the cpu dependent options file50 # FIXME: We are exporting a config-header here, which is a bad idea in51 # general52 rtems/score/cpuopts.h: rtems/score/cpuopts-tmp.h53 @echo "/* target cpu dependent options file */" >$@54 @echo "/* automatically generated -- DO NOT EDIT!! */" >>$@55 @echo >>$@56 @echo "#ifndef __CPU_OPTIONS_h" >>$@57 @echo "#define __CPU_OPTIONS_h" >>$@58 @echo >>$@59 @cat rtems/score/cpuopts-tmp.h | sed -e '/.*PACKAGE.*/d' >>$@60 @echo >>$@61 @echo "#endif" >>$@62 63 49 all-local: $(PREINSTALL_FILES) 64 50
Note: See TracChangeset
for help on using the changeset viewer.