Use MACHINE_ARCH rather than TARGET_ARCH which has no meaning outside

of Makefile.inc1
This commit is contained in:
Warner Losh 2016-10-20 20:12:34 +00:00
parent bb697a20d7
commit 86461c064b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307686

View File

@ -74,7 +74,7 @@ FILES_CPU_FUNC = \
$S/$M/$M/cpufunc_asm_pj4b.S $S/$M/$M/cpufunc_asm_armv6.S \
$S/$M/$M/cpufunc_asm_armv7.S
.if ${TARGET_ARCH} != "armv6" && defined(KERNPHYSADDR)
.if ${MACHINE_ARCH} != "armv6" && defined(KERNPHYSADDR)
KERNEL_EXTRA=trampoline
KERNEL_EXTRA_INSTALL=kernel.gz.tramp
trampoline: ${KERNEL_KO}.tramp