7 .
include <bsd.subdir.mk
>
10 # Config related support
13 .if
!empty
(BUILD_ARCH
)
15 .elif
${MACHINE} == "i86pc" ||
${MACHINE} == "i386" ||
${MACHINE} == "amd64"
17 .elif
${MACHINE} == "sparc"
20 .error
"Unknown machine architecture ${MACHINE}; override it via BUILD_ARCH"
23 CFGFILE
=arch
/${CFGARCH}/Sconfig
27 ${.CURDIR
}/tools
/mkconfig
/mkconfig
-I _SYS_CFGPARAM_H
-H
-o
include/sys
/cfgparam.h
${CFGFILE}
28 ${.CURDIR
}/tools
/mkconfig
/mkconfig
-m
-o usr
/src
/Makefile.cfgparam
${CFGFILE}
29 ${.CURDIR
}/tools
/mkconfig
/mkconfig
-M
-o Makefile.cfgparam
${CFGFILE}