Lines Matching refs:update
3 # $Id: dirdeps-cache-update.mk,v 1.23 2024/02/17 17:26:57 sjg Exp $
44 # cache-update target into the build to regenerate dirdeps.cache
46 # If MK_STATIC_DIRDEPS_CACHE_UPDATE_IMMEDIATE is "yes" we update
47 # STATIC_DIRDEPS_CACHE as soon as the update is ready,
56 # for a target other than cache-update we simply copy
60 # If we are included for the target cache-update we take care of
69 -e '/cache-update/d'
84 .if ${.MAKE.LEVEL} == 0 && !make(cache-update)
94 # so need to hook cache-update to dirdeps now.
99 .for d in ${STATIC_DIRDEPS_CACHE:H}/cache-update ${STATIC_DIRDEPS_CACHE:H:H}/cache-update ${STATIC_DIRDEPS_CACHE:H:H:H}/cache-update
106 DYNAMIC_DIRDEPS_CACHE := ${OBJTOP}/dirdeps.cache.${STATIC_DIRDEPS_CACHE:H:T}-update
113 .if ${.MAKE.LEVEL} > 0 && ${.CURDIR:T} == "cache-update"
114 # we are the background update shim
123 ${.MAKE} -C ${SRCTOP} -f ${RELDIR}/Makefile cache-update \
126 .endif # cache-update
128 .elif ${.MAKE.LEVEL} == 0 && make(cache-update) && !target(cache-update)
142 cache-update: ${DIRDEPS_CACHE}
162 all: cache-update
164 # ensure the cache update is completed
172 cache-update: cache-built