diff options
author | imp <imp@FreeBSD.org> | 2010-09-13 01:43:10 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-09-13 01:43:10 +0000 |
commit | 6a8c774078fc54125d358503149bb2caf40ae8fa (patch) | |
tree | 56cce075ef78f4668c75cef9ff2144323f6cb80e /lib/libthr/arch | |
parent | 681e259e01efa9c7cedfea30531274a306838ddd (diff) | |
download | FreeBSD-src-6a8c774078fc54125d358503149bb2caf40ae8fa.zip FreeBSD-src-6a8c774078fc54125d358503149bb2caf40ae8fa.tar.gz |
Merge from tbemd, with a small amount of rework:
For all libthr contexts, use ${MACHINE_CPUARCH}
for all libc contexts, use ${MACHINE_ARCH} if it exists, otherwise use
${MACHINE_CPUARCH}
Move some common code up a layer (the .PATH statement was the same in
all the arch submakefiles).
# Hope she hasn't busted powerpc64 with this...
Diffstat (limited to 'lib/libthr/arch')
-rw-r--r-- | lib/libthr/arch/amd64/Makefile.inc | 2 | ||||
-rw-r--r-- | lib/libthr/arch/arm/Makefile.inc | 2 | ||||
-rw-r--r-- | lib/libthr/arch/i386/Makefile.inc | 2 | ||||
-rw-r--r-- | lib/libthr/arch/ia64/Makefile.inc | 2 | ||||
-rw-r--r-- | lib/libthr/arch/mips/Makefile.inc | 2 | ||||
-rw-r--r-- | lib/libthr/arch/powerpc/Makefile.inc | 2 | ||||
-rw-r--r-- | lib/libthr/arch/sparc64/Makefile.inc | 2 |
7 files changed, 0 insertions, 14 deletions
diff --git a/lib/libthr/arch/amd64/Makefile.inc b/lib/libthr/arch/amd64/Makefile.inc index f62999f..e6d99ec 100644 --- a/lib/libthr/arch/amd64/Makefile.inc +++ b/lib/libthr/arch/amd64/Makefile.inc @@ -1,5 +1,3 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH} - SRCS+= pthread_md.c _umtx_op_err.S diff --git a/lib/libthr/arch/arm/Makefile.inc b/lib/libthr/arch/arm/Makefile.inc index b6a4acd..2ee2247 100644 --- a/lib/libthr/arch/arm/Makefile.inc +++ b/lib/libthr/arch/arm/Makefile.inc @@ -1,5 +1,3 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH} - SRCS+= pthread_md.c diff --git a/lib/libthr/arch/i386/Makefile.inc b/lib/libthr/arch/i386/Makefile.inc index 35e93a2..01290d5 100644 --- a/lib/libthr/arch/i386/Makefile.inc +++ b/lib/libthr/arch/i386/Makefile.inc @@ -1,5 +1,3 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH} - SRCS+= pthread_md.c _umtx_op_err.S diff --git a/lib/libthr/arch/ia64/Makefile.inc b/lib/libthr/arch/ia64/Makefile.inc index 160cdf6..795aa99 100644 --- a/lib/libthr/arch/ia64/Makefile.inc +++ b/lib/libthr/arch/ia64/Makefile.inc @@ -1,5 +1,3 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH} - SRCS+= _umtx_op_err.S pthread_md.c diff --git a/lib/libthr/arch/mips/Makefile.inc b/lib/libthr/arch/mips/Makefile.inc index b6a4acd..2ee2247 100644 --- a/lib/libthr/arch/mips/Makefile.inc +++ b/lib/libthr/arch/mips/Makefile.inc @@ -1,5 +1,3 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH} - SRCS+= pthread_md.c diff --git a/lib/libthr/arch/powerpc/Makefile.inc b/lib/libthr/arch/powerpc/Makefile.inc index e4dffef..2ee2247 100644 --- a/lib/libthr/arch/powerpc/Makefile.inc +++ b/lib/libthr/arch/powerpc/Makefile.inc @@ -1,5 +1,3 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/arch/${MACHINE_CPUARCH}/${MACHINE_CPUARCH} - SRCS+= pthread_md.c diff --git a/lib/libthr/arch/sparc64/Makefile.inc b/lib/libthr/arch/sparc64/Makefile.inc index b6a4acd..2ee2247 100644 --- a/lib/libthr/arch/sparc64/Makefile.inc +++ b/lib/libthr/arch/sparc64/Makefile.inc @@ -1,5 +1,3 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH} - SRCS+= pthread_md.c |