mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
Only build jevents if MK_PMC is yes and only for amd64 in libcompat.
Sponsored by: Dell EMC
This commit is contained in:
parent
ad2afa8c8b
commit
6f1f2b1931
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335216
@ -2033,7 +2033,8 @@ _tcsh=bin/csh
|
||||
_libmagic=lib/libmagic
|
||||
.endif
|
||||
|
||||
.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386"
|
||||
.if ${MK_PMC} != "no" && \
|
||||
(${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386")
|
||||
_jevents=lib/libpmc/pmu-events
|
||||
.endif
|
||||
|
||||
|
@ -155,6 +155,11 @@ _LC_INCDIRS= \
|
||||
lib/ncurses/ncursesw \
|
||||
${_LC_LIBDIRS.yes}
|
||||
|
||||
.if ${MK_PMC} != "no" && ${TARGET_ARCH} == "amd64"
|
||||
_jevents= lib/libpmc/pmu-events
|
||||
.endif
|
||||
|
||||
|
||||
# Shared logic
|
||||
build${libcompat}: .PHONY
|
||||
@echo
|
||||
@ -192,7 +197,7 @@ build${libcompat}: .PHONY
|
||||
DIRPRFX=${_dir}/ ${_t}
|
||||
.endfor
|
||||
.endfor
|
||||
.for _dir in lib/ncurses/ncurses lib/ncurses/ncursesw lib/libmagic lib/libpmc/pmu-events
|
||||
.for _dir in lib/ncurses/ncurses lib/ncurses/ncursesw lib/libmagic ${_jevents}
|
||||
${_+_}cd ${.CURDIR}/${_dir}; \
|
||||
WORLDTMP=${WORLDTMP} \
|
||||
MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" \
|
||||
|
Loading…
Reference in New Issue
Block a user