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" _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"