Fixes for z16f compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1472 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
38a851bdcf
commit
7dc2a2268a
@ -39,7 +39,7 @@
|
|||||||
COMPILER = ${shell basename $(CC)}
|
COMPILER = ${shell basename $(CC)}
|
||||||
ARCHSRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src
|
ARCHSRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src
|
||||||
ifeq ($(COMPILER),zneocc.exe)
|
ifeq ($(COMPILER),zneocc.exe)
|
||||||
WARCHSRCDIR = ${shell cygpath -w $(ARCHSRCDIR)}
|
WARCHSRCDIR := ${shell cygpath -w $(ARCHSRCDIR)}
|
||||||
USRINCLUDES = -usrinc:'.;$(WTOPDIR)\sched;$(WARCHSRCDIR);$(WARCHSRCDIR)\common'
|
USRINCLUDES = -usrinc:'.;$(WTOPDIR)\sched;$(WARCHSRCDIR);$(WARCHSRCDIR)\common'
|
||||||
else
|
else
|
||||||
WARCHSRCDIR = $(ARCHSRCDIR)
|
WARCHSRCDIR = $(ARCHSRCDIR)
|
||||||
@ -85,11 +85,7 @@ $(OBJS) $(HEAD_AOBJ): %$(OBJEXT): %.S
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
$(COBJS): %$(OBJEXT): %.c
|
$(COBJS): %$(OBJEXT): %.c
|
||||||
ifeq ($(COMPILER),zneocc.exe)
|
|
||||||
$(call COMPILE, `cygpath -w $<`, $@)
|
|
||||||
else
|
|
||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
endif
|
|
||||||
|
|
||||||
libarch$(LIBEXT): $(OBJS)
|
libarch$(LIBEXT): $(OBJS)
|
||||||
@( for obj in $(OBJS) ; do \
|
@( for obj in $(OBJS) ; do \
|
||||||
|
Loading…
Reference in New Issue
Block a user