make/MakeHelpers.gmk
changeset 27413 31d32b1d327b
parent 27000 1b34ed98dc37
child 27595 cff167b3bfa2
child 27560 adc258b13e2c
equal deleted inserted replaced
27412:a1e0cabaa2c5 27413:31d32b1d327b
   322 define DeclareRecipeForModuleMakefile
   322 define DeclareRecipeForModuleMakefile
   323   $$(strip $1)-$$(strip $2):
   323   $$(strip $1)-$$(strip $2):
   324 	+($(CD) $$(dir $$(firstword $$(wildcard $$(addsuffix /$$(strip $3)/$$(strip $4)-$$(strip $1).gmk, \
   324 	+($(CD) $$(dir $$(firstword $$(wildcard $$(addsuffix /$$(strip $3)/$$(strip $4)-$$(strip $1).gmk, \
   325 	        $(MAKE_DIR_LIST))))) \
   325 	        $(MAKE_DIR_LIST))))) \
   326 	    && $(MAKE) $(MAKE_ARGS) \
   326 	    && $(MAKE) $(MAKE_ARGS) \
   327 	    -f $$(strip $4)-$$(strip $1).gmk \
   327 	        -f $$(strip $4)-$$(strip $1).gmk \
   328 	    $$(addprefix -I, $$(wildcard $(MAKE_DIR_LIST) \
   328 	        $$(addprefix -I, $$(wildcard $(MAKE_DIR_LIST) \
   329 	        $$(addsuffix /$$(strip $3), $(MAKE_DIR_LIST)))))
   329 	            $$(addsuffix /$$(strip $3), $(MAKE_DIR_LIST)))) \
       
   330 	        MODULE=$$(strip $1))
   330 endef
   331 endef
   331 
   332 
   332 ################################################################################
   333 ################################################################################
   333 
   334 
   334 endif # _MAKEHELPERS_GMK
   335 endif # _MAKEHELPERS_GMK