common/makefiles/HotspotWrapper.gmk

changeset 494
e64f2cb57d05
parent 478
2ba6f4da4bf3
child 839
174a54ce39c4
equal deleted inserted replaced
488:8a3fe0ae06a8 494:e64f2cb57d05
34 .NOTPARALLEL: 34 .NOTPARALLEL:
35 35
36 default: all 36 default: all
37 37
38 # Get all files except .hg in the hotspot directory. 38 # Get all files except .hg in the hotspot directory.
39 HOTSPOT_FILES := $(shell $(FIND) $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print) 39 HOTSPOT_FILES := $(shell $(FIND) -L $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print)
40 40
41 # The old build creates hotspot output dir before calling hotspot and
42 # not doing it breaks builds on msys.
41 $(HOTSPOT_OUTPUTDIR)/_hotspot.timestamp: $(HOTSPOT_FILES) 43 $(HOTSPOT_OUTPUTDIR)/_hotspot.timestamp: $(HOTSPOT_FILES)
44 @$(MKDIR) -p $(HOTSPOT_OUTPUTDIR)
42 @($(CD) $(HOTSPOT_TOPDIR)/make && $(MAKE) -j1 $(HOTSPOT_MAKE_ARGS) SPEC=$(HOTSPOT_SPEC) BASE_SPEC=$(BASE_SPEC)) 45 @($(CD) $(HOTSPOT_TOPDIR)/make && $(MAKE) -j1 $(HOTSPOT_MAKE_ARGS) SPEC=$(HOTSPOT_SPEC) BASE_SPEC=$(BASE_SPEC))
43 $(TOUCH) $@ 46 $(TOUCH) $@
44 47
45 hotspot: $(HOTSPOT_OUTPUTDIR)/_hotspot.timestamp 48 hotspot: $(HOTSPOT_OUTPUTDIR)/_hotspot.timestamp
46 49

mercurial