diff options
author | David D. Zuhn <zoo@cygnus> | 1993-05-20 22:20:07 +0000 |
---|---|---|
committer | David D. Zuhn <zoo@cygnus> | 1993-05-20 22:20:07 +0000 |
commit | 7f0d689a1feca6398ebb23a3adfaa6a4d781e2e4 (patch) | |
tree | 9e7f085fb78498d1f585288df8768c2d42651506 /test-build.mk | |
parent | 022f8f67d1cf63e87e64fee4ba71fd39f41c5f67 (diff) | |
download | gdb-7f0d689a1feca6398ebb23a3adfaa6a4d781e2e4.zip gdb-7f0d689a1feca6398ebb23a3adfaa6a4d781e2e4.tar.gz gdb-7f0d689a1feca6398ebb23a3adfaa6a4d781e2e4.tar.bz2 |
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)
Diffstat (limited to 'test-build.mk')
-rw-r--r-- | test-build.mk | 36 |
1 files changed, 7 insertions, 29 deletions
diff --git a/test-build.mk b/test-build.mk index bc7ad56..fac96b9 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) |