Changeset View
Changeset View
Standalone View
Standalone View
Makefile.inc1
Context not available. | |||||
usr.bin/elfcopy | usr.bin/elfcopy | ||||
.endif | .endif | ||||
# ELFTOOLCHAIN lib dependencies | |||||
_ct= cross-tools | |||||
.for _tool in \ | |||||
usr.bin/elfcopy \ | |||||
usr.bin/nm \ | |||||
usr.bin/size \ | |||||
usr.bin/strings \ | |||||
usr.bin/addr2line | |||||
${_ct}_${_tool}: ${_ct}_lib/libelftc | |||||
.endfor | |||||
${_ct}_usr.bin/elfcopy: ${_ct}_lib/libpe | |||||
.if ${MK_CLANG_BOOTSTRAP} != "no" | .if ${MK_CLANG_BOOTSTRAP} != "no" | ||||
_clang= usr.bin/clang | _clang= usr.bin/clang | ||||
_clang_libs= lib/clang | _clang_libs= lib/clang | ||||
${_ct}_usr.bin/clang: ${_ct}_lib/clang | |||||
.endif | .endif | ||||
.if ${MK_GCC_BOOTSTRAP} != "no" | .if ${MK_GCC_BOOTSTRAP} != "no" | ||||
_cc= gnu/usr.bin/cc | _cc= gnu/usr.bin/cc | ||||
Context not available. | |||||
_usb_tools= sys/boot/usb/tools | _usb_tools= sys/boot/usb/tools | ||||
.endif | .endif | ||||
cross-tools: .MAKE .PHONY | |||||
.for _tool in \ | .for _tool in \ | ||||
${LOCAL_XTOOL_DIRS} \ | ${LOCAL_XTOOL_DIRS} \ | ||||
${_clang_libs} \ | ${_clang_libs} \ | ||||
Context not available. | |||||
${_cc} \ | ${_cc} \ | ||||
${_btxld} \ | ${_btxld} \ | ||||
${_usb_tools} | ${_usb_tools} | ||||
cross-tools_${_tool}: .PHONY | |||||
${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \ | ${_+_}@${ECHODIR} "===> ${_tool} (obj,all,install)"; \ | ||||
cd ${.CURDIR}/${_tool}; \ | cd ${.CURDIR}/${_tool}; \ | ||||
${MAKE} DIRPRFX=${_tool}/ obj; \ | ${MAKE} DIRPRFX=${_tool}/ obj; \ | ||||
${MAKE} DIRPRFX=${_tool}/ all; \ | ${MAKE} DIRPRFX=${_tool}/ all; \ | ||||
${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX} install | ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX} install | ||||
cross-tools: cross-tools_${_tool} | |||||
.endfor | .endfor | ||||
NXBDESTDIR= ${OBJTREE}/nxb-bin | NXBDESTDIR= ${OBJTREE}/nxb-bin | ||||
Context not available. |