build: Fix deplist regeneration after config update
@@ -90,8 +90,12 @@ ifneq ($(BUILD_MODULE),y)
OBJS += $(MAINCOBJ) $(MAINCXXOBJ)
endif
+DEPPATH += --dep-path .
+DEPPATH += --obj-path .
DEPPATH += --obj-suffix $(SUFFIX)$(OBJEXT)
+VPATH += :.
+
# Targets follow
all:: $(OBJS)
