From cee35e124bda21fed019fe486cd0d04f494d4dac Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 18 Jun 2015 18:18:53 -0600 Subject: [PATCH] apps/netutils/thttpd: Missing gci-src as a dependency path when building with BINFS enabled --- netutils/thttpd/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/netutils/thttpd/Makefile b/netutils/thttpd/Makefile index d9d95620d..b78f2ae5d 100644 --- a/netutils/thttpd/Makefile +++ b/netutils/thttpd/Makefile @@ -67,7 +67,7 @@ endif CONFIG_XYZ_PROGNAME ?= thttpd$(EXEEXT) PROGNAME = $(CONFIG_XYZ_PROGNAME) -ROOTDEPPATH = --dep-path . +DEPPATHS = --dep-path . # CGI binaries (examples only, not used in the build) @@ -85,6 +85,7 @@ endif ifeq ($(CONFIG_THTTPD_BINFS),y) BINFS_CSRCS = phf.c redirect.c ssi.c + DEPPATHS += --dep-path cgi-src VPATH += :cgi-src endif @@ -173,7 +174,7 @@ context: endif .depend: Makefile $(SRCS) - $(Q) $(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep + $(Q) $(MKDEP) $(DEPPATHS) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ depend: .depend