add missing vpath and .pp build dir for modules in local layers

This commit is contained in:
Chris PeBenito 2006-02-16 21:20:55 +00:00
parent 3d5980625c
commit ad8af23ae1
1 changed files with 5 additions and 1 deletions

View File

@ -90,7 +90,11 @@ detected_layers = $(filter-out CVS tmp $(docs),$(shell find $(wildcard *) -maxd
3rd_party_ifs = $(3rd_party_mods:.te=.if)
detected_mods = $(3rd_party_mods) $(foreach layer,$(detected_layers),$(wildcard $(layer)/*.te))
detected_ifs = $(3rd_party_ifs) $(foreach layer,$(detected_layers),$(wildcard $(layer)/*.if))
all_packages = $(detected_mods:.te=.pp)
all_packages = $(notdir $(detected_mods:.te=.pp))
vpath %.te $(detected_layers)
vpath %.if $(detected_layers)
vpath %.fc $(detected_layers)
# if there are modules in the current directory, add them into the third party layer
ifneq "$(3rd_party_ifs)" ""