diff options
-rw-r--r-- | .Sanitize | 24 | ||||
-rw-r--r-- | Makefile.in | 47 | ||||
-rw-r--r-- | build-all.mk | 3 | ||||
-rw-r--r-- | configure.in | 6 |
4 files changed, 34 insertions, 46 deletions
@@ -145,6 +145,30 @@ else mv new $i fi done + echo Thawing more \"chill\" out of Makefile.in... + cp Makefile.in new + sed -e 's/ chillrt / /g' \ + -e 's/newlib, chillrt/newlib/g' \ + -e 's/ all-chillrt / /g' \ + -e '/^[ ]*install-chillrt[ ]*\\$/d' \ + -e 's/ install-chillrt / /g' \ + -e 's/newlib \| chillrt/newlib/g' \ + -e 's/install-man install-libchill install-librmt/install-man/g' \ + < Makefile.in > new + if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then + echo Caching Makefile.in in .Recover... + mv Makefile.in .Recover + fi + mv new Makefile.in + echo Thawing the \"chill\" out of configure.in... + cp configure.in new + sed -e 's/ chillrt / /g' \ + < configure.in > new + if [ -n "${safe}" -a ! -f .Recover/configure.in ] ; then + echo Caching configure.in in .Recover... + mv configure.in .Recover + fi + mv new configure.in fi for i in * ; do diff --git a/Makefile.in b/Makefile.in index b9d3833..f9068c5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -78,11 +78,7 @@ MAKEINFO = `if [ -f $${rootme}/texinfo/C/makeinfo ] ; \ CC_FOR_BUILD = $(CC) CXX_FOR_BUILD = $(CXX) -SUBDIRS = libiberty mmalloc glob readline opcodes bfd h8300sim z8ksim \ -### start-sanitize-chill - chillrt \ -### end-sanitize-chill - gdb binutils ld gas tgas gcc libg++ newlib deja-gnu +SUBDIRS = libiberty mmalloc glob readline opcodes bfd h8300sim z8ksim gdb binutils ld gas tgas gcc libg++ newlib chillrt deja-gnu OTHERS = ALL = all.normal @@ -204,7 +200,7 @@ X11_FLAGS_TO_PASS = \ "X11_LIB_FLAGS=$(X11_LIB_FLAGS)" # Flags to pass down to makes which are built with the target -# environment (e.g. libg++, xiberty, newlib). -- keep these in alpha order please +# environment (e.g. libg++, xiberty, newlib, chillrt). -- keep these in alpha order please TARGET_FLAGS_TO_PASS = \ "AR=$(AR_FOR_TARGET)" \ "AR_FLAGS=$(AR_FLAGS)" \ @@ -259,22 +255,14 @@ all.normal: all-m4 all-autoconf all-libiberty all-mmalloc all-texinfo \ all-make all-rcs all-cvs all-diff all-grep \ all-patch all-emacs all-ispell all-etc \ all-tcl all-tk all-expect \ - all-newlib \ -### start-sanitize-chill - all-chillrt \ -### end-sanitize-chill - all-gprof all-send_pr all-libm all-deja-gnu \ + all-newlib all-chillrt all-gprof all-send_pr all-libm all-deja-gnu \ all-fileutils all-find all-gawk all-sed all-shellutils \ all-textutils all-time all-wdiff all.cross: all-libiberty all-mmalloc all-gas all-byacc all-flex all-ld \ - all-opcodes all-z8ksim all-h8300sim all-bfd all-readline \ - all-gdb all-binutils all-gcc all-newlib \ -### start-sanitize-chill - all-chillrt \ -### end-sanitize-chill - all-deja-gnu + all-opcodes all-z8ksim all-h8300sim all-bfd all-readline all-gdb all-binutils all-gcc \ + all-newlib all-chillrt all-deja-gnu .PHONY: clean distclean mostlyclean realclean do_clean @@ -333,9 +321,7 @@ install-no-fixedincludes: install-dirs gcc-no-fixedincludes \ install-make \ install-mmalloc \ install-newlib \ -### start-sanitize-chill install-chillrt \ -### end-sanitize-chill install-patch \ install-rcs \ install-readline \ @@ -362,11 +348,7 @@ install.cross: install-dirs install-libiberty install-mmalloc \ install-binutils install-opcodes install-byacc install-flex \ install-ld install-gas install-readline \ install-glob install-gdb install-mmalloc \ - install-newlib \ -### start-sanitize-chill - install-chillrt \ -### end-sanitize-chill - install-gcc install-etc install-deja-gnu + install-newlib install-chillrt install-gcc install-etc install-deja-gnu ### deja-gnu all-deja-gnu: force @@ -1257,28 +1239,13 @@ subdir_do: @for i in $(DODIRS); do \ if [ -f ./$$i/localenv ] || [ -f ./$$i/Makefile ] ; then \ case $$i in \ - libg++ | xiberty | newlib) \ + libg++ | xiberty | newlib | chillrt) \ if (rootme=`pwd` ; export rootme ; \ srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ cd ./$$i ; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \ else exit 1 ; fi \ ;; \ -### start-sanitize-chill -### -### WARNING: THIS IS VERY UGLY AND I DID NOT DO THIS WILLINGLY -### -### if you change the above code for libg++ et al, also change the -### code down here -### - chillrt) \ - if (rootme=`pwd` ; export rootme ; \ - srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ - cd ./$$i ; \ - $(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \ - else exit 1 ; fi \ - ;; \ -### end-sanitize-chill *) \ if (rootme=`pwd` ; export rootme ; \ cd ./$$i ; \ diff --git a/build-all.mk b/build-all.mk index f215840..4825770 100644 --- a/build-all.mk +++ b/build-all.mk @@ -73,7 +73,8 @@ all: all-native endif ifeq ($(canonhost),hppa1.1-hp-hpux) -TARGETS = m68k-aout m68k-coff m68k-vxworks i960-vxworks a29k-amd-udi +#TARGETS = m68k-aout m68k-coff m68k-vxworks i960-vxworks a29k-amd-udi +TARGETS = m68k-aout m68k-coff m68k-vxworks a29k-amd-udi CC = cc all: all-native endif diff --git a/configure.in b/configure.in index 0d9397a..319e3b0 100644 --- a/configure.in +++ b/configure.in @@ -37,11 +37,7 @@ host_tools="texinfo byacc flex bison binutils ld gas gcc gdb make patch # these libraries are built for the target environment, and are built after # the host libraries and the host tools (which may be a cross compiler) # -target_libs="libm xiberty newlib libg++" - -### start-sanitize-chill -target-libs="${target_libs} chillrt" -### end-sanitize-chill +target_libs="libm xiberty newlib chillrt libg++" # these tools are built using the target libs, and are intended to run only # in the target environment. we currently have none. |