Only build the compat libs appropiate for the target machine.
This commit is contained in:
parent
7d476598a6
commit
5afa43af2c
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
SUBDIR=
|
SUBDIR=
|
||||||
|
|
||||||
|
.if ${MACHINE_ARCH} == "i386"
|
||||||
# Note that compat21 is *not* for the 2.1.x branch!
|
# Note that compat21 is *not* for the 2.1.x branch!
|
||||||
.if defined(COMPAT1X) || defined(RELEASEDIR)
|
.if defined(COMPAT1X) || defined(RELEASEDIR)
|
||||||
SUBDIR+= compat1x
|
SUBDIR+= compat1x
|
||||||
@ -15,11 +16,18 @@ SUBDIR+= compat21
|
|||||||
.if defined(COMPAT22) || defined(RELEASEDIR)
|
.if defined(COMPAT22) || defined(RELEASEDIR)
|
||||||
SUBDIR+= compat22
|
SUBDIR+= compat22
|
||||||
.endif
|
.endif
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if exists (${.CURDIR}/compat3x.${MACHINE_ARCH})
|
||||||
.if defined(COMPAT3X) || defined(RELEASEDIR)
|
.if defined(COMPAT3X) || defined(RELEASEDIR)
|
||||||
SUBDIR+= compat3x.${MACHINE_ARCH}
|
SUBDIR+= compat3x.${MACHINE_ARCH}
|
||||||
.endif
|
.endif
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if exists (${.CURDIR}/compat4x.${MACHINE_ARCH})
|
||||||
.if defined(COMPAT4X) || defined(RELEASEDIR)
|
.if defined(COMPAT4X) || defined(RELEASEDIR)
|
||||||
SUBDIR+= compat4x.${MACHINE_ARCH}
|
SUBDIR+= compat4x.${MACHINE_ARCH}
|
||||||
.endif
|
.endif
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user