Since earm is new, don't bother building the compat libc code since there

is nothing that can use it.
This commit is contained in:
matt 2013-04-19 16:53:18 +00:00
parent a1629854ac
commit 7d19b890df
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.150 2013/04/12 19:58:45 joerg Exp $
# $NetBSD: Makefile,v 1.151 2013/04/19 16:53:18 matt Exp $
# @(#)Makefile 8.2 (Berkeley) 2/3/94
#
# All library objects contain sccsid strings by default; they may be
@ -44,6 +44,7 @@ assym.h: ${ARCHDIR}/genassym.cf
# The following controls how to build compatibility code for old NetBSD
# binaries. If BUILD_LEGACY is yes, then we build a separate library; otherwise
# we include the code in libc.
.if !empty(MACHINE_ARCH:Mearm*)
BUILD_LEGACY?= no
.if "${BUILD_LEGACY}" == "yes"
SUBDIR=compat
@ -54,6 +55,7 @@ COMPATDIR=${.CURDIR}/compat
# Marker for compat code that can't be easily isolated
CPPFLAGS+= -D__BUILD_LEGACY
.endif
.endif
.include "${.CURDIR}/../../common/lib/libc/Makefile.inc"
.include "${.CURDIR}/atomic/Makefile.inc"