summaryrefslogtreecommitdiff
path: root/usr.sbin/acpitools
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2020-09-11 14:06:00 +0000
committerjmcneill <jmcneill@NetBSD.org>2020-09-11 14:06:00 +0000
commit779d2c899c51e88238495dc769e18ca0516069ef (patch)
treef493cdad2284ce9a4f0e9cd6156b323687e44e12 /usr.sbin/acpitools
parent6781426f1718a0701bb391191bf81a8b8e02d4a8 (diff)
Build acpi tools and iasl on aarch64eb, and fix set lists for MKDEBUG.
Diffstat (limited to 'usr.sbin/acpitools')
-rw-r--r--usr.sbin/acpitools/acpidump/Makefile4
-rw-r--r--usr.sbin/acpitools/amldb/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/acpitools/acpidump/Makefile b/usr.sbin/acpitools/acpidump/Makefile
index 27e35764874..0e039004d30 100644
--- a/usr.sbin/acpitools/acpidump/Makefile
+++ b/usr.sbin/acpitools/acpidump/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2018/10/14 13:36:32 jmcneill Exp $
+# $NetBSD: Makefile,v 1.8 2020/09/11 14:06:00 jmcneill Exp $
# $FreeBSD: src/usr.sbin/acpi/acpidump/Makefile,v 1.7 2003/08/28 03:33:07 njl Exp $
-.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "aarch64")
+.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || !empty(MACHINE_ARCH:Maarch64*))
CPPFLAGS+=-I${.CURDIR}/../../../sys -D_KERNTYPES
CPPFLAGS+=-I${.CURDIR}/..
PROG= acpidump
diff --git a/usr.sbin/acpitools/amldb/Makefile b/usr.sbin/acpitools/amldb/Makefile
index c7e9e36a2cf..d829ed2872f 100644
--- a/usr.sbin/acpitools/amldb/Makefile
+++ b/usr.sbin/acpitools/amldb/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2019/10/13 07:28:17 mrg Exp $
+# $NetBSD: Makefile,v 1.7 2020/09/11 14:06:00 jmcneill Exp $
# Id: Makefile,v 1.5 2000/07/14 18:16:30 iwasaki Exp
# $FreeBSD: src/usr.sbin/acpi/amldb/Makefile,v 1.7 2001/10/22 17:25:32 iwasaki Exp $
-.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "aarch64")
+.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || !empty(MACHINE_ARCH:Maarch64*))
PROG= amldb
SRCS= amldb.c debug.c region.c
SRCS+= aml_parse.c aml_name.c aml_amlmem.c aml_memman.c aml_store.c \