apps/wireless/wapi:  Correct an error in dependency generation.
@@ -54,6 +54,7 @@ CSRCS =
MAINSRC =
VPATH = .
+DEPPATH = --dep-path .
include $(APPDIR)/wireless/wapi/src/Make.defs
@@ -87,8 +88,6 @@ endif
CONFIG_WAPI_PROGNAME ?= wapi$(EXEEXT)
PROGNAME = $(CONFIG_WAPI_PROGNAME)
-ROOTDEPPATH = --dep-path .
-
# Common build
all: .built
@@ -131,7 +130,7 @@ endif
# Create dependencies
.depend: Makefile $(SRCS)
- $(Q) $(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
+ $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
$(Q) touch $@
depend: .depend
