Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2013 22:18:21 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249390 - in head/sys: conf powerpc/conf
Message-ID:  <201304112218.r3BMILxq036793@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Thu Apr 11 22:18:20 2013
New Revision: 249390
URL: http://svnweb.freebsd.org/changeset/base/249390

Log:
  Generate a LINT for powerpc and for powerpc64.
  
  Discussed with:	nwhitehorn

Modified:
  head/sys/conf/makeLINT.mk
  head/sys/powerpc/conf/Makefile

Modified: head/sys/conf/makeLINT.mk
==============================================================================
--- head/sys/conf/makeLINT.mk	Thu Apr 11 22:10:15 2013	(r249389)
+++ head/sys/conf/makeLINT.mk	Thu Apr 11 22:18:20 2013	(r249390)
@@ -46,6 +46,12 @@ LINT: ${NOTES} ../../conf/makeLINT.sed
 	echo "nodevice txp"		>> ${.TARGET}-NOIP
 	echo "nodevice vxge"		>> ${.TARGET}-NOIP
 .endif
-.if ${TARGET} == "powerpc" || ${TARGET} == "mips"
+.if ${TARGET} == "mips"
 	echo "machine	${TARGET} ${TARGET_ARCH}" >> ${.TARGET}
 .endif
+.if ${TARGET} == "powerpc"
+	# cat is available, not sure if cp is?
+	cat ${.TARGET} > ${.TARGET}64
+	echo "machine	${TARGET} powerpc" >> ${.TARGET}
+	echo "machine	${TARGET} powerpc64" >> ${.TARGET}64
+.endif

Modified: head/sys/powerpc/conf/Makefile
==============================================================================
--- head/sys/powerpc/conf/Makefile	Thu Apr 11 22:10:15 2013	(r249389)
+++ head/sys/powerpc/conf/Makefile	Thu Apr 11 22:18:20 2013	(r249390)
@@ -1,8 +1,5 @@
 # $FreeBSD$
 
 TARGET=powerpc
-.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == powerpc64
-TARGET_ARCH?=${MACHINE_ARCH}
-.endif
 
 .include "${.CURDIR}/../../conf/makeLINT.mk"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304112218.r3BMILxq036793>