netuitls/thttpd: Add $(APPDIR)/netutils/thttpd into search path

to fix config.h can't be found

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-05-22 03:11:30 +08:00 committed by Abdelatif Guettouche
parent 34305351c4
commit 3f933d073c
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@ endif
ifeq ($(CONFIG_THTTPD_BINFS),y)
CSRCS += phf.c redirect.c ssi.c
CFLAGS += ${shell $(INCDIR) "$(CC)" "$(APPDIR)$(DELIM)netutils$(DELIM)thttpd"}
DEPPATHS += --dep-path cgi-src
VPATH += :cgi-src

View File

@ -35,7 +35,7 @@
include $(TOPDIR)/Make.defs
CFLAGS += ${shell $(INCDIR) "$(CC)" "$(APPDIR)/netutils/thttpd" "$(APPDIR)/netutils/thttpd/cgi-src"}
CFLAGS += ${shell $(INCDIR) "$(CC)" "$(APPDIR)$(DELIM)netutils$(DELIM)thttpd"}
CGIBINDIR = $(APPDIR)/netutils/thttpd/cgi-bin
CLEANFILES = *.o redirect ssi phf