forked from Imagelibrary/rtems
Moved stuff to rtems subdirectory and made sure the system still
functioned.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
AUTOMAKE_OPTIONS = foreign
|
AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
SUBDIRS = . binutils gccnewlib gdb
|
SUBDIRS = . binutils gccnewlib gdb rtems
|
||||||
|
|
||||||
noinst_SCRIPTS = \
|
noinst_SCRIPTS = \
|
||||||
setup \
|
setup \
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ NORMAL_UNINSTALL = :
|
|||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
BINUTILSVERS = @BINUTILSVERS@
|
BINUTILSVERS = @BINUTILSVERS@
|
||||||
|
BSPVERS = @BSPVERS@
|
||||||
GCCNEWLIBVERS = @GCCNEWLIBVERS@
|
GCCNEWLIBVERS = @GCCNEWLIBVERS@
|
||||||
GDBVERS = @GDBVERS@
|
GDBVERS = @GDBVERS@
|
||||||
MAKEINFO = @MAKEINFO@
|
MAKEINFO = @MAKEINFO@
|
||||||
@@ -68,7 +69,7 @@ VERSION = @VERSION@
|
|||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign
|
AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
SUBDIRS = . binutils gccnewlib gdb
|
SUBDIRS = . binutils gccnewlib gdb rtems
|
||||||
|
|
||||||
noinst_SCRIPTS = setup buildall mkbinutils_subpackage_version mkbinutilspec mkbspspec mkgccnewlibspec mkgdbspec mkrpms mkspec
|
noinst_SCRIPTS = setup buildall mkbinutils_subpackage_version mkbinutilspec mkbspspec mkgccnewlibspec mkgdbspec mkrpms mkspec
|
||||||
|
|
||||||
@@ -88,14 +89,15 @@ DISTCLEANFILES = setup.cache
|
|||||||
CLEANFILES = buildall
|
CLEANFILES = buildall
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_CLEAN_FILES = buildall mkbinutilspec mkgccnewlibspec mkgdbspec
|
CONFIG_CLEAN_FILES = buildall mkbinutilspec mkgccnewlibspec mkgdbspec \
|
||||||
|
mkbspspec
|
||||||
SCRIPTS = $(noinst_SCRIPTS)
|
SCRIPTS = $(noinst_SCRIPTS)
|
||||||
|
|
||||||
DATA = $(noinst_DATA)
|
DATA = $(noinst_DATA)
|
||||||
|
|
||||||
DIST_COMMON = README Makefile.am Makefile.in TODO aclocal.m4 \
|
DIST_COMMON = README Makefile.am Makefile.in TODO aclocal.m4 \
|
||||||
buildall.in configure configure.in install-sh missing mkbinutilspec.in \
|
buildall.in configure configure.in install-sh missing mkbinutilspec.in \
|
||||||
mkgccnewlibspec.in mkgdbspec.in mkinstalldirs
|
mkbspspec.in mkgccnewlibspec.in mkgdbspec.in mkinstalldirs
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
@@ -126,6 +128,8 @@ mkgccnewlibspec: $(top_builddir)/config.status mkgccnewlibspec.in
|
|||||||
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
mkgdbspec: $(top_builddir)/config.status mkgdbspec.in
|
mkgdbspec: $(top_builddir)/config.status mkgdbspec.in
|
||||||
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
mkbspspec: $(top_builddir)/config.status mkbspspec.in
|
||||||
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
# This directory's subdirectories are mostly independent; you can cd
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
# into them and run `make' without going through this Makefile.
|
# into them and run `make' without going through this Makefile.
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ NORMAL_UNINSTALL = :
|
|||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
BINUTILSVERS = @BINUTILSVERS@
|
BINUTILSVERS = @BINUTILSVERS@
|
||||||
|
BSPVERS = @BSPVERS@
|
||||||
GCCNEWLIBVERS = @GCCNEWLIBVERS@
|
GCCNEWLIBVERS = @GCCNEWLIBVERS@
|
||||||
GDBVERS = @GDBVERS@
|
GDBVERS = @GDBVERS@
|
||||||
MAKEINFO = @MAKEINFO@
|
MAKEINFO = @MAKEINFO@
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ newlib=${newlib_version}
|
|||||||
# also use binutils_rpm_release
|
# also use binutils_rpm_release
|
||||||
buildroot=/opt/tmp
|
buildroot=/opt/tmp
|
||||||
|
|
||||||
testing=yes
|
testing=no
|
||||||
do_binutils=yes
|
do_binutils=yes
|
||||||
do_gdb=yes
|
do_gdb=yes
|
||||||
do_gccnewlib=yes
|
do_gccnewlib=yes
|
||||||
@@ -124,19 +124,9 @@ do
|
|||||||
echo Skipping binutils for ${target}
|
echo Skipping binutils for ${target}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${do_gdb} = yes ] ; then
|
#
|
||||||
# now build gdb
|
# build gcc/newlib
|
||||||
logfile=log/${target}-gdb
|
#
|
||||||
specfile=${dst}/${target}-gdb-${gdb}.spec
|
|
||||||
echo "rpm -ba ${specfile} >${logfile} 2>&1"
|
|
||||||
if [ ${testing} = no ] ; then
|
|
||||||
rpm -ba ${specfile} >${logfile} 2>&1
|
|
||||||
fi
|
|
||||||
${ECHO} rm -rf ${dst}/../BUILD/${target}-gdb*
|
|
||||||
${ECHO} rm -rf ${buildroot}/opt
|
|
||||||
else
|
|
||||||
echo Skipping gdb for ${target}
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ${do_gccnewlib} = yes ] ; then
|
if [ ${do_gccnewlib} = yes ] ; then
|
||||||
# now build gcc/newlib
|
# now build gcc/newlib
|
||||||
@@ -165,6 +155,25 @@ do
|
|||||||
else
|
else
|
||||||
echo Skipping gcc/newlib for ${target}
|
echo Skipping gcc/newlib for ${target}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# build gdb
|
||||||
|
#
|
||||||
|
|
||||||
|
if [ ${do_gdb} = yes ] ; then
|
||||||
|
# now build gdb
|
||||||
|
logfile=log/${target}-gdb
|
||||||
|
specfile=${dst}/${target}-gdb-${gdb}.spec
|
||||||
|
echo "rpm -ba ${specfile} >${logfile} 2>&1"
|
||||||
|
if [ ${testing} = no ] ; then
|
||||||
|
rpm -ba ${specfile} >${logfile} 2>&1
|
||||||
|
fi
|
||||||
|
${ECHO} rm -rf ${dst}/../BUILD/${target}-gdb*
|
||||||
|
${ECHO} rm -rf ${buildroot}/opt
|
||||||
|
else
|
||||||
|
echo Skipping gdb for ${target}
|
||||||
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# Now we are done
|
# Now we are done
|
||||||
|
|||||||
7
scripts/configure
vendored
7
scripts/configure
vendored
@@ -692,7 +692,7 @@ fi
|
|||||||
|
|
||||||
PACKAGE=scripts
|
PACKAGE=scripts
|
||||||
|
|
||||||
VERSION=19991020-0
|
VERSION=19991020-1
|
||||||
|
|
||||||
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
||||||
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
|
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
|
||||||
@@ -798,6 +798,8 @@ BINUTILSVERS="binutils-${binutils_version}"
|
|||||||
|
|
||||||
GDBVERS="gdb-${gdb_version}"
|
GDBVERS="gdb-${gdb_version}"
|
||||||
|
|
||||||
|
BSPVERS="RTEMS-no_version_yet"
|
||||||
|
|
||||||
|
|
||||||
trap '' 1 2 15
|
trap '' 1 2 15
|
||||||
cat > confcache <<\EOF
|
cat > confcache <<\EOF
|
||||||
@@ -917,6 +919,7 @@ buildall
|
|||||||
mkbinutilspec
|
mkbinutilspec
|
||||||
mkgccnewlibspec
|
mkgccnewlibspec
|
||||||
mkgdbspec
|
mkgdbspec
|
||||||
|
mkbspspec
|
||||||
binutils/Makefile
|
binutils/Makefile
|
||||||
gccnewlib/Makefile
|
gccnewlib/Makefile
|
||||||
gdb/Makefile
|
gdb/Makefile
|
||||||
@@ -968,6 +971,7 @@ s%@RPM_SPECSdir@%$RPM_SPECSdir%g
|
|||||||
s%@GCCNEWLIBVERS@%$GCCNEWLIBVERS%g
|
s%@GCCNEWLIBVERS@%$GCCNEWLIBVERS%g
|
||||||
s%@BINUTILSVERS@%$BINUTILSVERS%g
|
s%@BINUTILSVERS@%$BINUTILSVERS%g
|
||||||
s%@GDBVERS@%$GDBVERS%g
|
s%@GDBVERS@%$GDBVERS%g
|
||||||
|
s%@BSPVERS@%$BSPVERS%g
|
||||||
|
|
||||||
CEOF
|
CEOF
|
||||||
EOF
|
EOF
|
||||||
@@ -1014,6 +1018,7 @@ buildall
|
|||||||
mkbinutilspec
|
mkbinutilspec
|
||||||
mkgccnewlibspec
|
mkgccnewlibspec
|
||||||
mkgdbspec
|
mkgdbspec
|
||||||
|
mkbspspec
|
||||||
binutils/Makefile
|
binutils/Makefile
|
||||||
gccnewlib/Makefile
|
gccnewlib/Makefile
|
||||||
gdb/Makefile
|
gdb/Makefile
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ BINUTILSVERS="binutils-${binutils_version}"
|
|||||||
AC_SUBST(BINUTILSVERS)
|
AC_SUBST(BINUTILSVERS)
|
||||||
GDBVERS="gdb-${gdb_version}"
|
GDBVERS="gdb-${gdb_version}"
|
||||||
AC_SUBST(GDBVERS)
|
AC_SUBST(GDBVERS)
|
||||||
|
BSPVERS="RTEMS-no_version_yet"
|
||||||
|
AC_SUBST(BSPVERS)
|
||||||
|
|
||||||
AC_OUTPUT(
|
AC_OUTPUT(
|
||||||
Makefile
|
Makefile
|
||||||
@@ -37,6 +39,7 @@ buildall
|
|||||||
mkbinutilspec
|
mkbinutilspec
|
||||||
mkgccnewlibspec
|
mkgccnewlibspec
|
||||||
mkgdbspec
|
mkgdbspec
|
||||||
|
mkbspspec
|
||||||
binutils/Makefile
|
binutils/Makefile
|
||||||
gccnewlib/Makefile
|
gccnewlib/Makefile
|
||||||
gdb/Makefile
|
gdb/Makefile
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ NORMAL_UNINSTALL = :
|
|||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
BINUTILSVERS = @BINUTILSVERS@
|
BINUTILSVERS = @BINUTILSVERS@
|
||||||
|
BSPVERS = @BSPVERS@
|
||||||
GCCNEWLIBVERS = @GCCNEWLIBVERS@
|
GCCNEWLIBVERS = @GCCNEWLIBVERS@
|
||||||
GDBVERS = @GDBVERS@
|
GDBVERS = @GDBVERS@
|
||||||
MAKEINFO = @MAKEINFO@
|
MAKEINFO = @MAKEINFO@
|
||||||
|
|||||||
Reference in New Issue
Block a user