Module Name: src Committed By: matt Date: Fri Apr 19 16:53:18 UTC 2013
Modified Files: src/lib/libc: Makefile Log Message: Since earm is new, don't bother building the compat libc code since there is nothing that can use it. To generate a diff of this commit: cvs rdiff -u -r1.150 -r1.151 src/lib/libc/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/Makefile diff -u src/lib/libc/Makefile:1.150 src/lib/libc/Makefile:1.151 --- src/lib/libc/Makefile:1.150 Fri Apr 12 19:58:45 2013 +++ src/lib/libc/Makefile Fri Apr 19 16:53:18 2013 @@ -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"