diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-01-25 13:21:05 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-01-25 13:21:05 -0500 |
commit | c653391e905b69799f083197fa847bb7e20d2d13 (patch) | |
tree | f2d2cc2ff3ed1bfcf6c27eac54f790988f6fe03d /client.mk | |
parent | b4192110b9a5909752250bb61d336185ab1630ef (diff) | |
download | basilisk-c653391e905b69799f083197fa847bb7e20d2d13.tar.gz |
Restore basic CLOBBER detection in the comm build system
Diffstat (limited to 'client.mk')
-rw-r--r-- | client.mk | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -112,6 +112,9 @@ MOZCONFIG_OUT_LINES := $(subst $(CR), ,$(subst $(NULL) $(NULL),||,$(MOZCONFIG_CO START_COMMENT = \# MOZCONFIG_OUT_FILTERED := $(filter-out $(START_COMMENT)%,$(MOZCONFIG_OUT_LINES)) +ifdef AUTOCLOBBER +export AUTOCLOBBER=1 +endif ifdef MOZ_PGO export MOZ_PGO endif @@ -336,6 +339,7 @@ CONFIG_STATUS_DEPS := \ $(wildcard $(TOPSRCDIR)/platform/config/milestone.txt) \ $(wildcard $(TOPSRCDIR)/platform/ldap/sdks/c-sdk/configure) \ $(wildcard $(addsuffix confvars.sh,$(wildcard $(TOPSRCDIR)/*/))) \ + $(TOPSRCDIR)/platform/CLOBBER \ $(NULL) CONFIGURE_ENV_ARGS += \ @@ -351,6 +355,10 @@ else CONFIGURE = $(TOPSRCDIR)/configure endif +$(OBJDIR)/CLOBBER: $(TOPSRCDIR)/CLOBBER + $(PYTHON) $(TOPSRCDIR)/platform/config/pythonpath.py -I $(TOPSRCDIR)/platform/testing/mozbase/mozfile \ + $(TOPSRCDIR)/platform/python/mozbuild/mozbuild/controller/clobber.py $(TOPSRCDIR)/platform $(OBJDIR) + configure-files: $(CONFIGURES) configure-preqs = \ |