Latent support for ARM_HAS_LPAE.

This commit is contained in:
matt 2015-04-17 20:13:51 +00:00
parent 05f8cb4da6
commit 318bdaa356
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.1 2015/04/17 20:13:51 matt Exp $
BSD_MK_COMPAT_FILE=${.CURDIR}/bsd.arm-lpae.mk
.include "../../compatsubdir.mk"

View File

@ -0,0 +1,11 @@
# $NetBSD: bsd.arm-lpae.mk,v 1.1 2015/04/17 20:13:51 matt Exp $
.ifndef _BSD_ARM_LPAE_MK_
_BSD_ARM_LPAE_MK_=1
KMODULEARCHDIR:= arm-lpae
# gcc emits bad code with these options
CPPFLAGS+= -DARM_HAS_LPAE
.endif # _BSD_ARM_LPAE_MK_