mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: use properly defined varitable
Variable used for tracking dependencies is USE_TRACKING.
This commit is contained in:
parent
a0c5b2c9fd
commit
32b2776afc
@ -35,6 +35,6 @@ $(BASE_TARGET): $(BASE_OBJECTS)
|
||||
$(Q) $(RM) $@
|
||||
$(Q) $(AR) rsv $@ $(BASE_OBJECTS) > /dev/null
|
||||
|
||||
ifeq ("$(DEPENDS)","yes")
|
||||
ifeq ("$(USE_TRACKING)","yes")
|
||||
-include $(BASE_DEPENDS)
|
||||
endif
|
||||
|
@ -48,6 +48,6 @@ $(DEVICE_MAPPER_TARGET): $(DEVICE_MAPPER_OBJECTS)
|
||||
$(Q) $(RM) $@
|
||||
$(Q) $(AR) rsv $@ $(DEVICE_MAPPER_OBJECTS) > /dev/null
|
||||
|
||||
ifeq ("$(DEPENDS)","yes")
|
||||
ifeq ("$(USE_TRACKING)","yes")
|
||||
-include $(DEVICE_MAPPER_DEPENDS)
|
||||
endif
|
||||
|
@ -61,6 +61,6 @@ run-unit-test: $(UNIT_TARGET)
|
||||
cd $$OLDPWD ;\
|
||||
$(RM) -r "$${TESTDIR:?}"
|
||||
|
||||
ifeq ("$(DEPENDS)","yes")
|
||||
-include $(UNIT_SOURCE:%.c=%.d)
|
||||
ifeq ("$(USE_TRACKING)","yes")
|
||||
-include $(UNIT_DEPENDS)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user