2 CPUID_SRCS = armv4cpuid.S armcap.c armv4-mont.S armv4-gf2m.S
4 CPPFLAGS += -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m
5 .if !empty(MACHINE_ARCH:Mearmv4*) || ${MACHINE_ARCH} == "armeb"
6 CPPFLAGS += -D__ARM_MAX_ARCH__=4
7 .elif ${MACHINE_ARCH} == "earmeb" || ${MACHINE_ARCH} == "earmhfeb"
8 CPPFLAGS += -D__ARM_MAX_ARCH__=5
9 .elif !empty(MACHINE_ARCH:Mearmv6*eb)
10 CPPFLAGS += -D__ARM_MAX_ARCH__=6
12 CPPFLAGS += -D__ARM_MAX_ARCH__=8
14 .include "../../crypto.inc"