summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/conf
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-08-19 03:19:26 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-08-19 03:19:26 +0000
commitfc916954f90c242291e9d8d8acfa97e365597795 (patch)
tree1862f832d38863c0f19855d37890369d2c23b5bd /sys/powerpc/conf
parentbbbe1082fb14d185a65dde7d313ae68309574f71 (diff)
downloadFreeBSD-src-fc916954f90c242291e9d8d8acfa97e365597795.zip
FreeBSD-src-fc916954f90c242291e9d8d8acfa97e365597795.tar.gz
Unbreak the LINT kernel on powerpc64. Note that the LINT kernel
configuration is TARGET_ARCH specific and must be generated with TARGET_ARCH set. Reviewed by: imp
Diffstat (limited to 'sys/powerpc/conf')
-rw-r--r--sys/powerpc/conf/Makefile3
-rw-r--r--sys/powerpc/conf/NOTES4
2 files changed, 6 insertions, 1 deletions
diff --git a/sys/powerpc/conf/Makefile b/sys/powerpc/conf/Makefile
index 562bc46..f665238 100644
--- a/sys/powerpc/conf/Makefile
+++ b/sys/powerpc/conf/Makefile
@@ -1,5 +1,8 @@
# $FreeBSD$
TARGET=powerpc
+.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == powerpc64
+TARGET_ARCH?=${MACHINE_ARCH}
+.endif
.include "${.CURDIR}/../../conf/makeLINT.mk"
diff --git a/sys/powerpc/conf/NOTES b/sys/powerpc/conf/NOTES
index f3b19eae..d943761 100644
--- a/sys/powerpc/conf/NOTES
+++ b/sys/powerpc/conf/NOTES
@@ -8,7 +8,8 @@
#####################################################################
# CPU OPTIONS
-machine powerpc powerpc
+# You must specify a machine directive to choose powerpc or powerpc64
+#machine powerpc powerpc[64]
#
# You must specify at least one CPU (the one you intend to run on).
@@ -44,6 +45,7 @@ device snd_davbus # Apple Davbus Audio
#####################################################################
# Devices we don't want to deal with
+nodevice bktr
nodevice fdc
nodevice ppc
nodevice splash
OpenPOWER on IntegriCloud