1
0
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:
Zdenek Kabelac 2024-05-14 16:54:00 +02:00
parent a0c5b2c9fd
commit 32b2776afc
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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