From: David D. Zuhn Date: Thu, 20 May 1993 22:20:07 +0000 (+0000) Subject: 1) use release-info X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f0d689a1feca6398ebb23a3adfaa6a4d781e2e4;p=binutils-gdb.git 1) use release-info 2) protect some of the canadian cross targets with ifdef/endif 3) make configargs settable from the command line too (assignments augment instead of replace previous values) --- diff --git a/test-build.mk b/test-build.mk index bc7ad56f486..fac96b95532 100644 --- a/test-build.mk +++ b/test-build.mk @@ -27,33 +27,11 @@ else ### from here to very near the end of the file is the real guts of this ### Makefile, and it is not seen if the variable 'host' is not set -### -### START EDITTING HERE!!! -### These things will need to be set differently for each release. -### - ### from which cvs tree are we working? TREE := devo -### binaries should be installed into? -ROOTING := /usr/cygnus - -### When working from a tagged set of source, this should be the tag. If not, -### then set the macro to be empty. -CVS_TAG := - -### The name of the cvs module for this release. The intersection of -### CVS_MODULE and CVS_TAG defines the source files in this release. -CVS_MODULE := latest - -### Historically, this was identical to CVS_TAG. This is changing. -RELEASE_TAG := latest-930426 +include $(TREE)/release-info -### Historically, binaries were installed here. This is changing. -release_root := $(ROOTING)/$(RELEASE_TAG) - -### STOP EDITTING HERE!!! -### With luck, eventually, nothing else will need to be editted. TIME := time GCC := gcc -O @@ -203,9 +181,7 @@ build-all: build-native build-latest endif ifeq ($(target),mips-idt-ecoff) -configargs = -with-gnu-as -else -configargs = +configargs := $(configargs) -with-gnu-as endif else @@ -222,9 +198,7 @@ endif #all: in-place do1 do2 do3 comparison ifeq ($(subst mips-sgi-irix4,mips-dec-ultrix,$(host)),mips-dec-ultrix) -configargs = -with-gnu-as -else -configargs = +configargs := $(configargs) -with-gnu-as endif endif @@ -628,7 +602,9 @@ BUILD_HOST_HOLES := \ BUILD_HOLES_DIRS := $(PARTIAL_HOLE_DIRS) +ifdef BUILD_HOST_HOLES_DIR $(BUILD_HOST_HOLES_DIR): $(build)-x-$(host)-stamp-holes +endif $(build)-x-$(host)-stamp-holes: -rm -rf $(BUILD_HOST_HOLES_DIR) @@ -664,7 +640,9 @@ BUILD_TARGET_HOLES := \ $(NM_FOR_TARGET) \ $(RANLIB_FOR_TARGET) +ifdef BUILD_TARGET_HOLES_DIR $(BUILD_TARGET_HOLES_DIR): $(build)-x-$(target)-stamp-holes +endif $(build)-x-$(target)-stamp-holes: -rm -rf $(BUILD_TARGET_HOLES_DIR)