Changeset 1805015 in rtems
- Timestamp:
- 10/20/99 15:49:13 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- c4d1d41
- Parents:
- 36b6704e
- Location:
- scripts
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/Makefile.in
r36b6704e r1805015 1 # Makefile.in generated automatically by automake 1.4 from Makefile.am1 # Makefile.in generated automatically by automake 1.4a from Makefile.am 2 2 3 3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. … … 47 47 48 48 INSTALL = @INSTALL@ 49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 50 50 INSTALL_DATA = @INSTALL_DATA@ 51 51 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 52 INSTALL_STRIP_FLAG = 52 53 transform = @program_transform_name@ 53 54 … … 99 100 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 100 101 101 TAR = tar102 TAR = gtar 102 103 GZIP_ENV = --best 103 104 all: all-redirect … … 252 253 d=$(srcdir); \ 253 254 if test -d $$d/$$file; then \ 254 cp -pr $$ /$$file $(distdir)/$$file; \255 cp -pr $$d/$$file $(distdir)/$$file; \ 255 256 else \ 256 257 test -f $(distdir)/$$file \ … … 291 292 all-redirect: all-recursive 292 293 install-strip: 293 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install294 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install 294 295 installdirs: installdirs-recursive 295 296 installdirs-am: -
scripts/aclocal.m4
r36b6704e r1805015 1 dnl aclocal.m4 generated automatically by aclocal 1.4 1 dnl aclocal.m4 generated automatically by aclocal 1.4a 2 2 3 3 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. … … 22 22 AC_DEFUN(AM_INIT_AUTOMAKE, 23 23 [AC_REQUIRE([AC_PROG_INSTALL]) 24 dnl We require 2.13 because we rely on SHELL being computed by configure. 25 AC_PREREQ([2.13]) 24 26 PACKAGE=[$1] 25 27 AC_SUBST(PACKAGE) -
scripts/configure
r36b6704e r1805015 690 690 691 691 692 692 693 PACKAGE=scripts 693 694 … … 702 703 missing_dir=`cd $ac_aux_dir && pwd` 703 704 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 704 echo "configure:70 5: checking for working aclocal" >&5705 echo "configure:706: checking for working aclocal" >&5 705 706 # Run test in a subshell; some versions of sh will print an error if 706 707 # an executable is not found, even if stderr is redirected. … … 715 716 716 717 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 717 echo "configure:71 8: checking for working autoconf" >&5718 echo "configure:719: checking for working autoconf" >&5 718 719 # Run test in a subshell; some versions of sh will print an error if 719 720 # an executable is not found, even if stderr is redirected. … … 728 729 729 730 echo $ac_n "checking for working automake""... $ac_c" 1>&6 730 echo "configure:73 1: checking for working automake" >&5731 echo "configure:732: checking for working automake" >&5 731 732 # Run test in a subshell; some versions of sh will print an error if 732 733 # an executable is not found, even if stderr is redirected. … … 741 742 742 743 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 743 echo "configure:74 4: checking for working autoheader" >&5744 echo "configure:745: checking for working autoheader" >&5 744 745 # Run test in a subshell; some versions of sh will print an error if 745 746 # an executable is not found, even if stderr is redirected. … … 754 755 755 756 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 756 echo "configure:75 7: checking for working makeinfo" >&5757 echo "configure:758: checking for working makeinfo" >&5 757 758 # Run test in a subshell; some versions of sh will print an error if 758 759 # an executable is not found, even if stderr is redirected. … … 775 776 # others might use /usr/src 776 777 echo $ac_n "checking for rpm SPECS directory""... $ac_c" 1>&6 777 echo "configure:77 8: checking for rpm SPECS directory" >&5778 echo "configure:779: checking for rpm SPECS directory" >&5 778 779 if test -d /usr/src/packages/SPECS; 779 780 then 780 RPM_SPECSdir=/usr/src/packages/SPECS;781 RPM_SPECSdir=/usr/src/packages/SPECS; 781 782 elif test -d /usr/src/redhat/SPECS; 782 783 then 783 RPM_SPECSdirs=/usr/src/redhat/SPECS;784 RPM_SPECSdir=/usr/src/redhat/SPECS; 784 785 elif test -d /usr/src/SPECS/; 785 786 then 786 RPM_SPECSdir=/usr/src/SPECS;787 RPM_SPECSdir=/usr/src/SPECS; 787 788 fi 788 789 if test x"$RPM_SPECSdir" = x; then … … 915 916 mkbinutilspec 916 917 mkgccnewlibspec 918 mkgdbspec 917 919 binutils/Makefile 918 920 gccnewlib/Makefile 921 gdb/Makefile 919 922 " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 920 923 EOF … … 1008 1011 mkbinutilspec 1009 1012 mkgccnewlibspec 1013 mkgdbspec 1010 1014 binutils/Makefile 1011 1015 gccnewlib/Makefile 1016 gdb/Makefile 1012 1017 "} 1013 1018 EOF -
scripts/configure.in
r36b6704e r1805015 36 36 mkbinutilspec 37 37 mkgccnewlibspec 38 mkgdbspec 38 39 binutils/Makefile 39 40 gccnewlib/Makefile 41 gdb/Makefile 40 42 ) -
scripts/gccnewlib/Makefile.in
r36b6704e r1805015 1 # Makefile.in generated automatically by automake 1.4 from Makefile.am1 # Makefile.in generated automatically by automake 1.4a from Makefile.am 2 2 3 3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. … … 47 47 48 48 INSTALL = @INSTALL@ 49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 50 50 INSTALL_DATA = @INSTALL_DATA@ 51 51 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 52 INSTALL_STRIP_FLAG = 52 53 transform = @program_transform_name@ 53 54 … … 95 96 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 96 97 97 TAR = tar98 TAR = gtar 98 99 GZIP_ENV = --best 99 100 all: all-redirect … … 137 138 d=$(srcdir); \ 138 139 if test -d $$d/$$file; then \ 139 cp -pr $$ /$$file $(distdir)/$$file; \140 cp -pr $$d/$$file $(distdir)/$$file; \ 140 141 else \ 141 142 test -f $(distdir)/$$file \ … … 166 167 all-redirect: all-am 167 168 install-strip: 168 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install169 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install 169 170 installdirs: 170 171 $(mkinstalldirs) $(DESTDIR)$(RPM_SPECSdir) -
scripts/gdb.spec.in
r36b6704e r1805015 20 20 Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com 21 21 22 Version: @Version@22 Version: gdb@gdb_version@ 23 23 Summary: gdb for target @target_alias@ 24 Source0: gdb- 4.18.tar.gz25 Patch0: gdb- 4.18-rtems-19991015.diff24 Source0: gdb-@gdb_version@.tar.gz 25 Patch0: gdb-@gdb_version@-rtems-@gdb_patch_version@.diff 26 26 27 27 Buildroot: /tmp … … 38 38 39 39 %prep 40 # untar the sources inside @target_alias@-gdb -@Version@40 # untar the sources inside @target_alias@-gdb 41 41 %setup -c -n @target_alias@-gdb -a 0 42 42 … … 46 46 test -d build || mkdir build 47 47 ( cd build 48 ../gdb- 4.18/configure --target=@target_alias@ \48 ../gdb-@gdb_version@/configure --target=@target_alias@ \ 49 49 --verbose --prefix=/opt/rtems 50 50 … … 65 65 66 66 %files 67 %dir /opt/rtems 68 %dir /opt/rtems/bin 69 %dir /opt/rtems/include 70 %dir /opt/rtems/info 71 %dir /opt/rtems/lib 72 %dir /opt/rtems/man 73 %dir /opt/rtems/man/man1 74 67 75 %doc /opt/rtems/info/gdb.info* 68 76 %doc /opt/rtems/info/mmalloc.info* -
scripts/mkbinutilspec
r36b6704e r1805015 7 7 8 8 CFG=user.cfg 9 dst=/usr/src/ packages/SPECS9 dst=/usr/src/redhat/SPECS 10 10 11 11 usage() -
scripts/mkgccnewlibspec
r36b6704e r1805015 7 7 8 8 CFG=user.cfg 9 dst=/usr/src/ packages/SPECS9 dst=/usr/src/redhat/SPECS 10 10 11 11 usage() -
scripts/mkgdbspec
r36b6704e r1805015 1 1 #!/bin/sh 2 2 # 3 # Usage: mk toolspec CPU3 # Usage: mkgdbspec CPU 4 4 # 5 5 6 6 RTEMS_DIR=`dirname $0` 7 RTEMS_VERSION=`grep Version ${RTEMS_DIR}/../VERSION | \ 8 sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'` 7 CFG=user.cfg 8 dst=/usr/src/redhat/SPECS 9 9 10 target_alias=$1 11 release=0 10 usage() 12 11 13 # Some linux distributions use /usr/src/packages 14 # redhat uses /usr/src/redhat 15 # others might use /usr/src 16 if test -d /usr/src/packages/SPECS; 12 echo "$0 [options] <target_alias>" 13 echo " options:" 14 echo " -cfg <user.cfg>" 15 echo " -o <rpm-spec-dir>" 16 exit 1 ; 17 18 19 while test $# -ge 2; do 20 case $1 in 21 -cfg) 22 shift 23 CFG=$1 24 shift 25 ;; 26 -o) 27 shift 28 dst=$1 29 shift 30 ;; 31 -*) 32 echo "invalid option $1"; 33 usage 34 ;; 35 esac 36 done 37 38 if test ! $# -eq 1; 17 39 then 18 dst=/usr/src/packages/SPECS; 19 elif test -d /usr/src/redhat/SPECS; 20 then 21 dst=/usr/src/redhat/SPECS; 22 elif test -d /usr/src/SPECS/; 23 then 24 dst=/usr/src/SPECS; 40 echo "Invalid number of arguments" 41 usage 25 42 fi 26 43 27 sed -e "s%@Version@%${RTEMS_VERSION}%g" \ 28 -e "s%@bsp@%${bsp}%g" \ 29 -e "s%@Release@%${release}%g" \ 30 -e "s%@target_alias@%${target_alias}%g" \ 44 # target to build for 45 target_alias=$1 46 47 rpm_release=0 48 49 sed -e "s%@Release@%${rpm_release}%g" \ 50 -e "s%@target_alias@%${target_alias}%g" \ 51 -e "s%@gdb_version@%${gdb_version}%g" \ 52 -e "s%@gdb_patch_version@%${gdb_patch_version}%g" \ 31 53 < ${RTEMS_DIR}/gdb.spec.in \ 32 54 > ${dst}/$target_alias-gdb.spec
Note: See TracChangeset
for help on using the changeset viewer.