Generate a LINT for powerpc and for powerpc64.

Discussed with:	nwhitehorn
This commit is contained in:
Bjoern A. Zeeb 2013-04-11 22:18:20 +00:00
parent 6961e9eda4
commit 492226c0e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249390
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -1,8 +1,5 @@
# $FreeBSD$
TARGET=powerpc
.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == powerpc64
TARGET_ARCH?=${MACHINE_ARCH}
.endif
.include "${.CURDIR}/../../conf/makeLINT.mk"