9 .
-include "cfgparam.mk"
16 ${.MAKE
} -C lib MACHINE
=${CONFIG_MACH64} obj
17 ${.MAKE
} -C lib MACHINE
=${CONFIG_MACH64}
18 ${.MAKE
} -C lib MACHINE
=${CONFIG_MACH64} install
20 .
include <unleashed.mk
>
26 # Config related support
29 .if
!empty
(BUILD_ARCH
)
31 .elif
${MACHINE} == "i86pc" ||
${MACHINE} == "i386" ||
${MACHINE} == "amd64"
33 .elif
${MACHINE} == "sparc"
36 .error
"Unknown machine architecture ${MACHINE}; override it via BUILD_ARCH"
39 CFGFILE
=arch
/${CFGARCH}/Sconfig
44 ${.CURDIR
}/tools
/mkconfig
/obj
/mkconfig
-I _SYS_CFGPARAM_H
-H
-o
include/sys
/cfgparam.h
${CFGFILE}
45 ${.CURDIR
}/tools
/mkconfig
/obj
/mkconfig
-m
-o usr
/src
/Makefile.cfgparam
${CFGFILE}
46 ${.CURDIR
}/tools
/mkconfig
/obj
/mkconfig
-M
-o cfgparam.mk
${CFGFILE}
48 .PHONY
: gen-config build