aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-10-19 20:03:12 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-19 20:03:12 +0000
commit728e272aec1b217bce32f1d75ecefb888e67b678 (patch)
tree6535829e28bd0283207c874b0f4b23631e52c52c /Makeconfig
parentd528cdcfdef2f0eb3932749aa9894db7c18101f4 (diff)
downloadglibc-728e272aec1b217bce32f1d75ecefb888e67b678.zip
glibc-728e272aec1b217bce32f1d75ecefb888e67b678.tar.gz
glibc-728e272aec1b217bce32f1d75ecefb888e67b678.tar.bz2
Remove relics of support for configuring in the source directory.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig35
1 files changed, 1 insertions, 34 deletions
diff --git a/Makeconfig b/Makeconfig
index f451ec2..9dadc3f 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -33,31 +33,6 @@ ifdef subdir
.. := ../
endif
-# If config.make exists, the source directory was configured,
-# so don't try to be clever and find another directory to build in.
-ifneq (,$(wildcard $(..)config.make))
-ARCH =
-machine =
-else # Not configured.
-ifndef ARCH
-ifdef machine
-ARCH = $(machine)
-endif # machine
-endif # ARCH
-endif # config.make
-
-# Directory for object files and libc.a. If this is not defined, the
-# object files live in the subdirectories where their sources live, and
-# libc.a lives in the parent directory (this probably doesn't work any
-# more).
-ifdef ARCH
-ifeq ($(filter /%,$(ARCH)),)
-objdir := $(..)$(ARCH)
-else
-objdir = $(ARCH)
-endif
-endif
-
# $(common-objdir) is the place to put objects and
# such that are not specific to a single subdir.
ifdef objdir
@@ -65,15 +40,7 @@ objpfx := $(patsubst %//,%/,$(objdir)/$(subdir)/)
common-objpfx = $(objdir)/
common-objdir = $(objdir)
else
-objpfx :=
-ifdef ..
-common-objpfx = $(..)
-common-objdir = ..
-else
-# This is a kludge. make wizards might grok.
-common-objpfx = sysdeps/../
-common-objdir = .
-endif
+objdir must be defined by the build-directory Makefile.
endif
# Root of the sysdeps tree.