diff options
author | bz <bz@FreeBSD.org> | 2013-04-11 22:18:20 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2013-04-11 22:18:20 +0000 |
commit | 862ce015c11b8931b27fe2a96e684418c5841c8c (patch) | |
tree | ea346e9f84731d68ff43999d7571fe43e9ea2116 | |
parent | 2de9f3a45533170ce9fb1c8445a924e507f33676 (diff) | |
download | FreeBSD-src-862ce015c11b8931b27fe2a96e684418c5841c8c.zip FreeBSD-src-862ce015c11b8931b27fe2a96e684418c5841c8c.tar.gz |
Generate a LINT for powerpc and for powerpc64.
Discussed with: nwhitehorn
-rw-r--r-- | sys/conf/makeLINT.mk | 8 | ||||
-rw-r--r-- | sys/powerpc/conf/Makefile | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sys/conf/makeLINT.mk b/sys/conf/makeLINT.mk index 64392c6..3b418ed 100644 --- a/sys/conf/makeLINT.mk +++ b/sys/conf/makeLINT.mk @@ -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 diff --git a/sys/powerpc/conf/Makefile b/sys/powerpc/conf/Makefile index f665238..562bc46 100644 --- a/sys/powerpc/conf/Makefile +++ b/sys/powerpc/conf/Makefile @@ -1,8 +1,5 @@ # $FreeBSD$ TARGET=powerpc -.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == powerpc64 -TARGET_ARCH?=${MACHINE_ARCH} -.endif .include "${.CURDIR}/../../conf/makeLINT.mk" |