build: explicitly define dependency files
Groundwork for distcc support in Android build system, see distcc FAQ for details on why -MF is needed: http://distcc.googlecode.com/svn/trunk/doc/web/faq.html
This commit is contained in:
committed by
Jean-Baptiste Queru
parent
b056d71f79
commit
60fe963c63
@@ -890,7 +890,7 @@ $(hide) $(PRIVATE_CXX) \
|
|||||||
$(PRIVATE_CFLAGS) \
|
$(PRIVATE_CFLAGS) \
|
||||||
$(PRIVATE_CPPFLAGS) \
|
$(PRIVATE_CPPFLAGS) \
|
||||||
$(PRIVATE_DEBUG_CFLAGS) \
|
$(PRIVATE_DEBUG_CFLAGS) \
|
||||||
-MD -o $@ $<
|
-MD -MF $(patsubst %.o,%.d,$@) -o $@ $<
|
||||||
$(transform-d-to-p)
|
$(transform-d-to-p)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -917,7 +917,7 @@ $(hide) $(PRIVATE_CC) \
|
|||||||
$(PRIVATE_CFLAGS) \
|
$(PRIVATE_CFLAGS) \
|
||||||
$(1) \
|
$(1) \
|
||||||
$(PRIVATE_DEBUG_CFLAGS) \
|
$(PRIVATE_DEBUG_CFLAGS) \
|
||||||
-MD -o $@ $<
|
-MD -MF $(patsubst %.o,%.d,$@) -o $@ $<
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define transform-c-to-o-no-deps
|
define transform-c-to-o-no-deps
|
||||||
@@ -978,7 +978,7 @@ $(hide) $(PRIVATE_CXX) \
|
|||||||
$(PRIVATE_CFLAGS) \
|
$(PRIVATE_CFLAGS) \
|
||||||
$(PRIVATE_CPPFLAGS) \
|
$(PRIVATE_CPPFLAGS) \
|
||||||
$(PRIVATE_DEBUG_CFLAGS) \
|
$(PRIVATE_DEBUG_CFLAGS) \
|
||||||
-MD -o $@ $<
|
-MD -MF $(patsubst %.o,%.d,$@) -o $@ $<
|
||||||
$(transform-d-to-p)
|
$(transform-d-to-p)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -1004,7 +1004,7 @@ $(hide) $(PRIVATE_CC) \
|
|||||||
$(PRIVATE_CFLAGS) \
|
$(PRIVATE_CFLAGS) \
|
||||||
$(1) \
|
$(1) \
|
||||||
$(PRIVATE_DEBUG_CFLAGS) \
|
$(PRIVATE_DEBUG_CFLAGS) \
|
||||||
-MD -o $@ $<
|
-MD -MF $(patsubst %.o,%.d,$@) -o $@ $<
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define transform-host-c-to-o-no-deps
|
define transform-host-c-to-o-no-deps
|
||||||
|
Reference in New Issue
Block a user