Bug 1947164 - Fix pruning of build-id rebuild r=glandium
Adjust to internal changes so that buildid.h and source-repo.h are generated only once (and not twice - or never) upon nop build. Differential Revision: https://phabricator.services.mozilla.com/D237591
This commit is contained in:
10
Makefile.in
10
Makefile.in
@@ -24,12 +24,10 @@ endif
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
ifneq (mobile/android,$(MOZ_BUILD_APP))
|
||||
# We only want to generate buildid.h once, during the export phase.
|
||||
ifeq ($(MAKECMDGOALS),buildid.h)
|
||||
$(MDDEPDIR)/buildid.h.stub: FORCE
|
||||
endif
|
||||
ifeq ($(MAKECMDGOALS),source-repo.h)
|
||||
$(MDDEPDIR)/source-repo.h.stub: FORCE
|
||||
# We only want to generate buildid.h once, during the (recurse) export phase.
|
||||
# faster make build the files explicitly so also match thoses
|
||||
ifneq ($(filter $(MAKECMDGOALS),recurse_export buildid.h source-repo.h),)
|
||||
$(MDDEPDIR)/buildid.h.stub $(MDDEPDIR)/source-repo.h.stub: FORCE
|
||||
endif
|
||||
endif
|
||||
source-repo.h: $(MDDEPDIR)/source-repo.h.stub
|
||||
|
||||
Reference in New Issue
Block a user