mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
509a0eba89
configuration is TARGET_ARCH specific and must be generated with TARGET_ARCH set. Reviewed by: imp
23 lines
562 B
Makefile
23 lines
562 B
Makefile
# $FreeBSD$
|
|
|
|
all:
|
|
@echo "make LINT only"
|
|
|
|
clean:
|
|
rm -f LINT
|
|
.if ${TARGET} == "amd64" || ${TARGET} == "i386"
|
|
rm -f LINT-VIMAGE
|
|
.endif
|
|
|
|
NOTES= ../../conf/NOTES NOTES
|
|
LINT: ${NOTES} ../../conf/makeLINT.sed
|
|
cat ${NOTES} | sed -E -n -f ../../conf/makeLINT.sed > ${.TARGET}
|
|
.if ${TARGET} == "amd64" || ${TARGET} == "i386"
|
|
echo "include ${.TARGET}" > ${.TARGET}-VIMAGE
|
|
echo "ident ${.TARGET}-VIMAGE" >> ${.TARGET}-VIMAGE
|
|
echo "options VIMAGE" >> ${.TARGET}-VIMAGE
|
|
.endif
|
|
.if ${TARGET} == "powerpc"
|
|
echo "machine ${TARGET} ${TARGET_ARCH}" >> ${.TARGET}
|
|
.endif
|