aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-10-04 14:13:16 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-10-04 14:13:16 +0000
commiteea399e3ac38db9a6295bdf13c159b85bb2a7367 (patch)
treeb0480ca8d0501548a7aaa0046284c3cf6f0dc769
parent2bc21ed9856748bd3510da944f11597975ef8d81 (diff)
Notes
-rw-r--r--gnu/lib/csu/Makefile6
-rw-r--r--sys/modules/svr4/Makefile4
-rw-r--r--usr.sbin/amd/Makefile.inc3
3 files changed, 4 insertions, 9 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile
index 2ba52fe92e913..3426800ec491c 100644
--- a/gnu/lib/csu/Makefile
+++ b/gnu/lib/csu/Makefile
@@ -2,9 +2,7 @@
GCCDIR= ${.CURDIR}/../../../contrib/gcc.295
-TARGET_ARCH?= ${MACHINE_ARCH}
-
-.if ${TARGET_ARCH} == "alpha"
+.if ${MACHINE_ARCH} == "alpha"
.PATH: ${GCCDIR}/config/alpha
SRCS= crtbegin.s crtend.s
UGLYHACK= -x assembler
@@ -28,7 +26,7 @@ CRTS_CFLAGS= -DCRTSTUFFS_O ${PICFLAG}
all: ${OBJS} ${SOBJS}
-.if ${TARGET_ARCH} == "alpha"
+.if ${MACHINE_ARCH} == "alpha"
crtbegin.o crtbegin.So: crtbegin.s
crtend.o crtend.So: crtend.s
.for PART in begin end
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile
index 47dd0dae6eaa4..1057f307ae350 100644
--- a/sys/modules/svr4/Makefile
+++ b/sys/modules/svr4/Makefile
@@ -2,9 +2,7 @@
MAINTAINER= newton@FreeBSD.org
-TARGET_ARCH?= ${MACHINE_ARCH}
-
-.PATH: ${.CURDIR}/../../${TARGET_ARCH}/svr4 ${.CURDIR}/../../compat/svr4
+.PATH: ${.CURDIR}/../../${MACHINE_ARCH}/svr4 ${.CURDIR}/../../compat/svr4
KMOD= svr4
SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h opt_vmpage.h \
vnode_if.h imgact_svr4.c svr4_signal.c svr4_fcntl.c svr4_misc.c \
diff --git a/usr.sbin/amd/Makefile.inc b/usr.sbin/amd/Makefile.inc
index 3ded149cc0c97..fb29b81b489df 100644
--- a/usr.sbin/amd/Makefile.inc
+++ b/usr.sbin/amd/Makefile.inc
@@ -18,8 +18,7 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/amd/include
CFLAGS+= -I${.CURDIR}/../../../contrib/amd
CFLAGS+= -DHAVE_CONFIG_H
-TARGET_ARCH?= ${MACHINE_ARCH}
-CFLAGS+= -DHOST_CPU=\"${TARGET_ARCH}\" -DHOST_ARCH=\"${TARGET_ARCH}\"
+CFLAGS+= -DHOST_CPU=\"${MACHINE_ARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
.if exists(${.OBJDIR}/../libamu)
LIBAMUDIR= ${.OBJDIR}/../libamu