diff options
Diffstat (limited to 'nuttx/binfmt/Makefile')
-rw-r--r-- | nuttx/binfmt/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/binfmt/Makefile b/nuttx/binfmt/Makefile index 30a2fb260..0ba0c2862 100644 --- a/nuttx/binfmt/Makefile +++ b/nuttx/binfmt/Makefile @@ -35,7 +35,10 @@ -include $(TOPDIR)/Make.defs -CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh "$(CC)" $(TOPDIR)/sched} +ifeq ($(WINTOOL),y) +INCDIROPT = -w +endif +CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(TOPDIR)/sched} ifeq ($(CONFIG_NXFLAT),y) include libnxflat/Make.defs @@ -81,7 +84,7 @@ $(BIN): $(OBJS) .depend: Makefile $(SRCS) @$(MKDEP) --dep-path . --dep-path libnxflat \ - $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep + $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep @touch $@ depend: .depend |