7 .
-include "Makefile.cfgparam"
12 ${.MAKE
} -C lib MACHINE
=${CONFIG_MACH64} obj
14 ${.MAKE
} -C lib MACHINE
=${CONFIG_MACH64}
16 ${.MAKE
} -C lib MACHINE
=${CONFIG_MACH64} install
18 .
include <unleashed.mk
>
24 # Config related support
27 .if
!empty
(BUILD_ARCH
)
29 .elif
${MACHINE} == "i86pc" ||
${MACHINE} == "i386" ||
${MACHINE} == "amd64"
31 .elif
${MACHINE} == "sparc"
34 .error
"Unknown machine architecture ${MACHINE}; override it via BUILD_ARCH"
37 CFGFILE
=arch
/${CFGARCH}/Sconfig
41 ${.CURDIR
}/tools
/mkconfig
/mkconfig
-I _SYS_CFGPARAM_H
-H
-o
include/sys
/cfgparam.h
${CFGFILE}
42 ${.CURDIR
}/tools
/mkconfig
/mkconfig
-m
-o usr
/src
/Makefile.cfgparam
${CFGFILE}
43 ${.CURDIR
}/tools
/mkconfig
/mkconfig
-M
-o Makefile.cfgparam
${CFGFILE}
45 .PHONY
: gen-config build