change MACHINE_CPU occurances to CRYPTO_MACHINE_CPU, defaulting the
latter to the former if not already defined.
This commit is contained in:
parent
3fde6715d8
commit
3e7eaeda40
@ -1,4 +1,4 @@
|
||||
# $NetBSD: srcs.inc,v 1.15 2008/05/26 16:51:07 christos Exp $
|
||||
# $NetBSD: srcs.inc,v 1.16 2008/10/25 23:58:35 mrg Exp $
|
||||
|
||||
CRYPTOINCS= \
|
||||
aes.inc asn1.inc bf.inc bio.inc bn.inc buffer.inc cast.inc \
|
||||
@ -17,9 +17,11 @@ CRYPTOINCS+= mdc2.inc
|
||||
|
||||
CRYPTOINCS+= man.inc
|
||||
|
||||
CRYPTO_MACHINE_CPU?= ${MACHINE_CPU}
|
||||
|
||||
.for cryptoinc in ${CRYPTOINCS}
|
||||
.if exists(${.CURDIR}/arch/${MACHINE_CPU}/${cryptoinc})
|
||||
.include "${.CURDIR}/arch/${MACHINE_CPU}/${cryptoinc}"
|
||||
.if exists(${.CURDIR}/arch/${CRYPTO_MACHINE_CPU}/${cryptoinc})
|
||||
.include "${.CURDIR}/arch/${CRYPTO_MACHINE_CPU}/${cryptoinc}"
|
||||
.else
|
||||
.include "${cryptoinc}"
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user