Changeset b68e057e in rtems
- Timestamp:
- 02/07/98 19:56:00 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 84b0f7c9
- Parents:
- e496c1f
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/tools/generic/size_rtems.in
re496c1f rb68e057e 30 30 31 31 # check usage 32 if [ $# -ne 1] ; then33 echo usage ${0}: bsp 32 if [ $# -ne 2 ] ; then 33 echo usage ${0}: bsp object_directory 34 34 exit 1 35 35 fi … … 37 37 bsp=$1 38 38 board=$1 39 ARCH=$2 39 40 40 41 cpu=`echo $target | sed -e 's/-.*//'` 41 42 42 echo $target43 43 case $target in 44 44 sparc-sun-solaris*) 45 45 rtems_cpu=unix 46 46 bsp=solaris2 47 echo Not supported on unix port. 48 exit 0 47 49 ;; 48 50 i[3456]86-pc-linux-gnu) … … 50 52 rtems_cpu=unix 51 53 bsp=linux1 54 echo Not supported on unix port. 55 exit 0 52 56 ;; 53 57 *-rtems*) … … 65 69 esac 66 70 67 echo 68 echo Generating sizes for CPU ${cpu} on board ${board} 69 echo 71 case $ARCH in 72 *debug*) VARIANT=debug ;; 73 *profile*) VARIANT=profile ;; 74 *) VARIANT=optimized;; 75 esac 76 77 echo 78 echo Size Information for the Following Configuration: 79 echo CPU: ${cpu} 80 echo BSP: ${board} 81 echo VARIANT: ${VARIANT} 82 echo 83 70 84 71 85 # … … 88 102 89 103 #DIRLIST -- so greps for DIRLIST will find this file 90 CPUOBJ=c/src/exec/score/cpu/${rtems_cpu}/ o-${bsp}91 COREOBJ=c/src/exec/score/src/ o-${bsp}92 RTEMSOBJ=c/src/exec/rtems/src/ o-${bsp}93 SAPIOBJ=c/src/exec/sapi/src/ o-${bsp}94 OPTOBJ= ${board}/lib104 CPUOBJ=c/src/exec/score/cpu/${rtems_cpu}/${ARCH} 105 COREOBJ=c/src/exec/score/src/${ARCH} 106 RTEMSOBJ=c/src/exec/rtems/src/${ARCH} 107 SAPIOBJ=c/src/exec/sapi/src/${ARCH} 108 OPTOBJ=c/src/exec/rtems/optman/${ARCH} 95 109 96 110 MANLIST=" \ -
c/src/exec/wrapup/rtems/Makefile.in
re496c1f rb68e057e 42 42 CLOBBER_ADDITIONS += 43 43 44 EXTENSION_SUFFIX_$(TARGET_ARCH)_V= 45 EXTENSION_SUFFIX_$(TARGET_ARCH)-debug_V=_debug 46 EXTENSION_SUFFIX_$(TARGET_ARCH)-profile_V=_profile 47 48 EXTENSION_VARIANT=$(EXTENSION_SUFFIX_$(ARCH)_V) 49 50 44 51 $(LIB): ${OBJS} 45 52 $(make-library) 46 -cd $(PROJECT_ROOT) ; \47 $(PROJECT_RELEASE)/bin/size_rtems $(RTEMS_BSP) \48 >$(PROJECT_RELEASE)/lib/sizeinfo .txt53 cd $(PROJECT_ROOT) ; \ 54 $(PROJECT_RELEASE)/bin/size_rtems $(RTEMS_BSP) $(ARCH) \ 55 >$(PROJECT_RELEASE)/lib/sizeinfo$(EXTENSION_VARIANT).txt 49 56 50 57 all: ${ARCH} $(SRCS) $(LIB) -
tools/cpu/generic/size_rtems.in
re496c1f rb68e057e 30 30 31 31 # check usage 32 if [ $# -ne 1] ; then33 echo usage ${0}: bsp 32 if [ $# -ne 2 ] ; then 33 echo usage ${0}: bsp object_directory 34 34 exit 1 35 35 fi … … 37 37 bsp=$1 38 38 board=$1 39 ARCH=$2 39 40 40 41 cpu=`echo $target | sed -e 's/-.*//'` 41 42 42 echo $target43 43 case $target in 44 44 sparc-sun-solaris*) 45 45 rtems_cpu=unix 46 46 bsp=solaris2 47 echo Not supported on unix port. 48 exit 0 47 49 ;; 48 50 i[3456]86-pc-linux-gnu) … … 50 52 rtems_cpu=unix 51 53 bsp=linux1 54 echo Not supported on unix port. 55 exit 0 52 56 ;; 53 57 *-rtems*) … … 65 69 esac 66 70 67 echo 68 echo Generating sizes for CPU ${cpu} on board ${board} 69 echo 71 case $ARCH in 72 *debug*) VARIANT=debug ;; 73 *profile*) VARIANT=profile ;; 74 *) VARIANT=optimized;; 75 esac 76 77 echo 78 echo Size Information for the Following Configuration: 79 echo CPU: ${cpu} 80 echo BSP: ${board} 81 echo VARIANT: ${VARIANT} 82 echo 83 70 84 71 85 # … … 88 102 89 103 #DIRLIST -- so greps for DIRLIST will find this file 90 CPUOBJ=c/src/exec/score/cpu/${rtems_cpu}/ o-${bsp}91 COREOBJ=c/src/exec/score/src/ o-${bsp}92 RTEMSOBJ=c/src/exec/rtems/src/ o-${bsp}93 SAPIOBJ=c/src/exec/sapi/src/ o-${bsp}94 OPTOBJ= ${board}/lib104 CPUOBJ=c/src/exec/score/cpu/${rtems_cpu}/${ARCH} 105 COREOBJ=c/src/exec/score/src/${ARCH} 106 RTEMSOBJ=c/src/exec/rtems/src/${ARCH} 107 SAPIOBJ=c/src/exec/sapi/src/${ARCH} 108 OPTOBJ=c/src/exec/rtems/optman/${ARCH} 95 109 96 110 MANLIST=" \
Note: See TracChangeset
for help on using the changeset viewer.