diff --git a/wireless/wapi/Makefile b/wireless/wapi/Makefile index 03de538c9..c32d89fc6 100644 --- a/wireless/wapi/Makefile +++ b/wireless/wapi/Makefile @@ -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