diff options
Diffstat (limited to 'nuttx/arch/z16/src/Makefile')
-rw-r--r-- | nuttx/arch/z16/src/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nuttx/arch/z16/src/Makefile b/nuttx/arch/z16/src/Makefile index 9223a0464..f2d09e14f 100644 --- a/nuttx/arch/z16/src/Makefile +++ b/nuttx/arch/z16/src/Makefile @@ -36,7 +36,7 @@ -include $(TOPDIR)/Make.defs -include chip/Make.defs -COMPILER = ${shell basename $(CC)} +COMPILER = ${shell basename "$(CC)"} ARCHSRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src ifeq ($(COMPILER),zneocc.exe) WARCHSRCDIR := ${shell cygpath -w $(ARCHSRCDIR)} @@ -65,8 +65,6 @@ COBJS = $(CSRCS:.c=$(OBJEXT)) DEPSRCS = $(SSRCS) $(CSRCS) OBJS = $(AOBJS) $(COBJS) -BOARDDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src/board - VPATH = chip:common all: $(HEAD_OBJ) libarch$(LIBEXT) @@ -118,7 +116,7 @@ nuttx$(EXEEXT): $(HEAD_OBJ) board/libboard$(LIBEXT) nuttx.linkcmd @if [ -e board/Makefile ]; then \ $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \ fi - @$(MKDEP) --dep-path chip --dep-path common $(CC) -- $(CFLAGS) -- $(DEPSRCS) >Make.dep + @$(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >Make.dep @touch $@ # This is part of the top-level export target |