From owner-svn-src-all@FreeBSD.ORG Thu Aug 19 03:19:26 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D116A106564A; Thu, 19 Aug 2010 03:19:26 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A5B918FC13; Thu, 19 Aug 2010 03:19:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o7J3JQEQ088467; Thu, 19 Aug 2010 03:19:26 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o7J3JQDQ088463; Thu, 19 Aug 2010 03:19:26 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201008190319.o7J3JQDQ088463@svn.freebsd.org> From: Nathan Whitehorn Date: Thu, 19 Aug 2010 03:19:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r211483 - in head/sys: conf powerpc/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 03:19:27 -0000 Author: nwhitehorn Date: Thu Aug 19 03:19:26 2010 New Revision: 211483 URL: http://svn.freebsd.org/changeset/base/211483 Log: 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 Modified: head/sys/conf/makeLINT.mk head/sys/powerpc/conf/Makefile head/sys/powerpc/conf/NOTES Modified: head/sys/conf/makeLINT.mk ============================================================================== --- head/sys/conf/makeLINT.mk Thu Aug 19 02:15:39 2010 (r211482) +++ head/sys/conf/makeLINT.mk Thu Aug 19 03:19:26 2010 (r211483) @@ -17,3 +17,6 @@ LINT: ${NOTES} ../../conf/makeLINT.sed echo "ident ${.TARGET}-VIMAGE" >> ${.TARGET}-VIMAGE echo "options VIMAGE" >> ${.TARGET}-VIMAGE .endif +.if ${TARGET} == "powerpc" + echo "machine ${TARGET} ${TARGET_ARCH}" >> ${.TARGET} +.endif Modified: head/sys/powerpc/conf/Makefile ============================================================================== --- head/sys/powerpc/conf/Makefile Thu Aug 19 02:15:39 2010 (r211482) +++ head/sys/powerpc/conf/Makefile Thu Aug 19 03:19:26 2010 (r211483) @@ -1,5 +1,8 @@ # $FreeBSD$ TARGET=powerpc +.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == powerpc64 +TARGET_ARCH?=${MACHINE_ARCH} +.endif .include "${.CURDIR}/../../conf/makeLINT.mk" Modified: head/sys/powerpc/conf/NOTES ============================================================================== --- head/sys/powerpc/conf/NOTES Thu Aug 19 02:15:39 2010 (r211482) +++ head/sys/powerpc/conf/NOTES Thu Aug 19 03:19:26 2010 (r211483) @@ -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