mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 15:45:21 +00:00
Only build the compat libs appropiate for the target machine.
This commit is contained in:
parent
93f09f075a
commit
9a5622785c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72495
@ -2,6 +2,7 @@
|
||||
|
||||
SUBDIR=
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
# Note that compat21 is *not* for the 2.1.x branch!
|
||||
.if defined(COMPAT1X) || defined(RELEASEDIR)
|
||||
SUBDIR+= compat1x
|
||||
@ -15,11 +16,18 @@ SUBDIR+= compat21
|
||||
.if defined(COMPAT22) || defined(RELEASEDIR)
|
||||
SUBDIR+= compat22
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if exists (${.CURDIR}/compat3x.${MACHINE_ARCH})
|
||||
.if defined(COMPAT3X) || defined(RELEASEDIR)
|
||||
SUBDIR+= compat3x.${MACHINE_ARCH}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if exists (${.CURDIR}/compat4x.${MACHINE_ARCH})
|
||||
.if defined(COMPAT4X) || defined(RELEASEDIR)
|
||||
SUBDIR+= compat4x.${MACHINE_ARCH}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user