Changeset dfe7746e in rtems
- Timestamp:
- 03/17/99 23:43:32 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 1105818d
- Parents:
- 55b8fef2
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
aclocal/canonical-target-name.m4
r55b8fef2 rdfe7746e 3 3 dnl 4 4 5 dnl canonicalize target name5 dnl canonicalize target cpu 6 6 dnl NOTE: Most rtems targets do not fullfil autoconf's 7 7 dnl target naming conventions "processor-vendor-os" … … 10 10 11 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 12 [ 13 AC_REQUIRE([AC_CANONICAL_SYSTEM]) 14 AC_MSG_CHECKING(rtems target cpu) 15 changequote(,)dnl 16 case "${target}" in 17 # hpux unix port should go here 18 i[3456]86-go32-rtems*) 19 target_cpu=i386 20 ;; 21 i[3456]86-pc-linux*) # unix "simulator" port 22 target_cpu=unix 23 ;; 24 i[3456]86-*freebsd2*) # unix "simulator" port 25 target_cpu=unix 26 ;; 27 no_cpu-*rtems*) 28 target_cpu=no_cpu 29 ;; 30 ppc*-*rtems*) 31 target_cpu=powerpc 32 ;; 33 sparc-sun-solaris*) # unix "simulator" port 34 target_cpu=unix 35 ;; 36 *) 37 target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` 38 ;; 39 esac 40 changequote([,])dnl 16 41 AC_MSG_RESULT($target_cpu) 17 42 ]) -
c/src/exec/score/include/rtems/score/Makefile.in
r55b8fef2 rdfe7746e 20 20 priority stack states sysstate thread threadq \ 21 21 tod tqdata userext watchdog wkspace 22 H_FILES=$(H_PIECES:%=$(srcdir)/%.h) targopts.h23 22 24 SRCS=$(H_FILES) 23 # Use this if compilation in location will be supported 24 # H_FILES=$(H_PIECES:%=$(srcdir)/%.h) targopts.h 25 26 # FIXME: Work-around 27 H_FILES=$(H_PIECES:%=$(srcdir)/%.h) 28 TARGOPTS=$(PROJECT_INCLUDE)/rtems/score/targopts.h 29 30 SRCS=$(H_FILES) $(TARGOPTS) 25 31 26 32 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg … … 34 40 # 35 41 36 CLEAN_ADDITIONS += targopts.h42 CLEAN_ADDITIONS += $(TARGOPTS) 37 43 CLOBBER_ADDITIONS += 38 44 … … 47 53 48 54 # make the target dependent options file 49 targopts.h:55 $(TARGOPTS): 50 56 @echo "/* target board dependent options file */" >$@ 51 57 @echo "/* automatically generated -- DO NOT EDIT!! */" >>$@ … … 87 93 @echo >>$@ 88 94 @echo "#endif" >>$@ 89 95 @chmod 755 $@ 90 96 91 97 all: $(SRCS) 92 $(INSTALL_ CHANGE) -m 444${H_FILES} $(PROJECT_INCLUDE)/rtems/score98 $(INSTALL_DATA) ${H_FILES} $(PROJECT_INCLUDE)/rtems/score -
c/src/make/host.cfg.in
r55b8fef2 rdfe7746e 76 76 INSTDIRFLAGS = -m 0755 -d 77 77 INSTINCFLAGS = -m 0644 78 79 INSTALL_DATA = $(INSTALL) $(INSTDATAFLAGS) -
configure.in
r55b8fef2 rdfe7746e 112 112 AC_PATH_PROG(SORT,sort) 113 113 AC_PROG_INSTALL 114 AC_PATH_PROG(PERL,perl) 115 if test -z "$PERL" ; then 116 AC_MSG_WARN( 117 [***] 118 [ perl was not found] 119 [ Note: Some tools will not be built.]) 120 fi 114 RTEMS_PATH_PERL 121 115 122 116 dnl check mkdir behaviour, try to get mkdir -p -m 0755 … … 133 127 AC_PATH_PROGS(M4,gm4 m4) 134 128 135 dnl NOTE: prefer bash over ksh over sh 136 AC_PATH_PROGS(KSH,bash ksh sh) 137 138 if test -z "$KSH"; then 139 dnl NOTE: This cannot happen -- /bin/sh must always exist 140 AC_MSG_ERROR( 141 [***] 142 [ Cannot determine a usable shell bash/ksh/sh] 143 [ Please contact your system administrator] ); 144 fi 129 RTEMS_PATH_KSH 145 130 146 131 dnl BEGIN configure.target.in … … 164 149 RTEMS_HOST=$host_os 165 150 151 RTEMS_CANONICAL_TARGET_CPU 152 153 changequote(,)dnl 166 154 case "${target}" in 167 155 # hpux unix port should go here 168 i[[3456]]86-go32-rtems*) 169 target_cpu=i386 156 i[3456]86-go32-rtems*) 170 157 rtems_bsp="go32 go32_p5" 171 158 skip_startfiles="yes" 172 159 RTEMS_HAS_POSIX_API=no 173 160 ;; 174 i[[3456]]86-pc-linux*) # unix "simulator" port 175 target_cpu=unix 161 i[3456]86-pc-linux*) # unix "simulator" port 176 162 RTEMS_HOST=Linux 177 163 # override these settings 178 164 RTEMS_HAS_POSIX_API=no 179 165 ;; 180 i[[3456]]86-*freebsd2*) # unix "simulator" port 181 target_cpu=unix 166 i[3456]86-*freebsd2*) # unix "simulator" port 182 167 RTEMS_HOST=FreeBSD 183 168 # override these settings … … 185 170 ;; 186 171 no_cpu-*rtems*) 187 target_cpu=no_cpu188 172 RTEMS_HAS_POSIX_API=no 189 173 ;; 190 ppc*-*rtems*)191 target_cpu=powerpc192 ;;193 174 sparc-sun-solaris*) # unix "simulator" port 194 target_cpu=unix195 175 RTEMS_HOST=Solaris 196 176 # override these settings … … 198 178 ;; 199 179 *) 200 RTEMS_CANONICAL_TARGET_CPU201 180 ;; 202 181 esac 182 changequote([,])dnl 183 203 184 204 185 # Override the set of BSPs to be built. -
make/custom/p4000.cfg
r55b8fef2 rdfe7746e 4 4 # $Id$ 5 5 # 6 7 # NOTE: this file is broken ! 6 8 7 9 # Override default start file -
make/host.cfg.in
r55b8fef2 rdfe7746e 76 76 INSTDIRFLAGS = -m 0755 -d 77 77 INSTINCFLAGS = -m 0644 78 79 INSTALL_DATA = $(INSTALL) $(INSTDATAFLAGS)
Note: See TracChangeset
for help on using the changeset viewer.