Added make -j option ifeq before creating arch dependancies on host_arch.

This commit is contained in:
Janet B. Anderson
2008-10-27 19:24:45 +00:00
parent f5967d268c
commit 2b37a8f746

View File

@@ -42,6 +42,8 @@ buildDirs = $(addprefix O.,$(BUILD_ARCHS))
CROSS_ARCHS += $(CROSS1) $(CROSS2)
ifeq ($(findstring j,$(MAKEFLAGS)),j)
define DEP_template
$(2): $$(EPICS_HOST_ARCH)
$(1)$$(DIVIDER)$(2): $(1)$$(DIVIDER)$$(EPICS_HOST_ARCH)
@@ -50,6 +52,8 @@ endef
$(foreach action, $(ACTIONS), $(foreach arch,\
$(CROSS_ARCHS),$(eval $(call DEP_template,$(action),$(arch)))))
endif
#*************************************************************************
$(actionArchTargets) : $(buildDirs) O.Common