You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/05/22 11:25:18 UTC
[incubator-nuttx-apps] 01/02: netuitls/thttpd: Add
$(APPDIR)/netutils/thttpd into search path
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 3f933d073ccbc7542ee86557499d0fc1ad018dd1
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri May 22 03:11:30 2020 +0800
netuitls/thttpd: Add $(APPDIR)/netutils/thttpd into search path
to fix config.h can't be found
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
netutils/thttpd/Makefile | 1 +
netutils/thttpd/cgi-src/Makefile | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/netutils/thttpd/Makefile b/netutils/thttpd/Makefile
index c950650..998a514 100644
--- a/netutils/thttpd/Makefile
+++ b/netutils/thttpd/Makefile
@@ -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
diff --git a/netutils/thttpd/cgi-src/Makefile b/netutils/thttpd/cgi-src/Makefile
index 1bb0736..ee5c23e 100644
--- a/netutils/thttpd/cgi-src/Makefile
+++ b/netutils/thttpd/cgi-src/Makefile
@@ -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