meta.autodep.mk (296637) | meta.autodep.mk (297040) |
---|---|
1# $Id: meta.autodep.mk,v 1.40 2016/02/22 22:44:58 sjg Exp $ | 1# $Id: meta.autodep.mk,v 1.41 2016/03/11 01:29:38 sjg Exp $ |
2 3# 4# @(#) Copyright (c) 2010, Simon J. Gerraty 5# 6# This file is provided in the hope that it will 7# be of use. There is absolutely NO WARRANTY. 8# Permission to copy, redistribute or otherwise 9# use this file is hereby granted provided that --- 180 unchanged lines hidden (view full) --- 190# We are boot-strapping a new directory 191# Use DPADD to seed DIRDEPS 192.if !empty(DPADD) 193# anything which matches ${_OBJROOT}* but not ${_OBJTOP}* 194# needs to be qualified in DIRDEPS 195# The pseudo machine "host" is used for HOST_TARGET 196DIRDEPS += \ 197 ${DPADD:M${_OBJTOP}*:H:C,${_OBJTOP}[^/]*/,,:N.:O:u} \ | 2 3# 4# @(#) Copyright (c) 2010, Simon J. Gerraty 5# 6# This file is provided in the hope that it will 7# be of use. There is absolutely NO WARRANTY. 8# Permission to copy, redistribute or otherwise 9# use this file is hereby granted provided that --- 180 unchanged lines hidden (view full) --- 190# We are boot-strapping a new directory 191# Use DPADD to seed DIRDEPS 192.if !empty(DPADD) 193# anything which matches ${_OBJROOT}* but not ${_OBJTOP}* 194# needs to be qualified in DIRDEPS 195# The pseudo machine "host" is used for HOST_TARGET 196DIRDEPS += \ 197 ${DPADD:M${_OBJTOP}*:H:C,${_OBJTOP}[^/]*/,,:N.:O:u} \ |
198 ${DPADD:M${_OBJROOT}*:N${_OBJTOP}*:H:S,${_OBJROOT},,:C,^([^/]+)/(.*),\2.\1,:S,${HOST_TARGET}$,host,:N.*:O:u} | 198 ${DPADD:M${_OBJROOT}*:N${_OBJTOP}*:N${STAGE_ROOT:U${_OBJTOP}}/*:H:S,${_OBJROOT},,:C,^([^/]+)/(.*),\2.\1,:S,${HOST_TARGET}$,host,:N.*:O:u} |
199 200.endif 201.endif 202 203_gendirdeps_mutex = 204.if defined(NEED_GENDIRDEPS_MUTEX) 205# If a src dir gets built with multiple object dirs, 206# we need a mutex. Obviously, this is best avoided. --- 90 unchanged lines hidden --- | 199 200.endif 201.endif 202 203_gendirdeps_mutex = 204.if defined(NEED_GENDIRDEPS_MUTEX) 205# If a src dir gets built with multiple object dirs, 206# we need a mutex. Obviously, this is best avoided. --- 90 unchanged lines hidden --- |