diff options
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/z16f2800100zcog/ostest/Make.defs | 6 | ||||
-rw-r--r-- | nuttx/configs/z16f2800100zcog/src/Makefile | 9 |
2 files changed, 10 insertions, 5 deletions
diff --git a/nuttx/configs/z16f2800100zcog/ostest/Make.defs b/nuttx/configs/z16f2800100zcog/ostest/Make.defs index 758416249..542a1f721 100644 --- a/nuttx/configs/z16f2800100zcog/ostest/Make.defs +++ b/nuttx/configs/z16f2800100zcog/ostest/Make.defs @@ -125,12 +125,12 @@ EXEEXT = .hex # object files into an archive define COMPILE - @echo "CC: $1" - @$(CC) $(CFLAGS) $1 1>/dev/null + @#echo "CC: $1" + @$(CC) $(CFLAGS) $1 endef define ASSEMBLE - @echo "AS: $1" + @#echo "AS: $1" @$(AS) -c $(AFLAGS) $1 endef diff --git a/nuttx/configs/z16f2800100zcog/src/Makefile b/nuttx/configs/z16f2800100zcog/src/Makefile index 85997d0bd..fa8b5ac2e 100644 --- a/nuttx/configs/z16f2800100zcog/src/Makefile +++ b/nuttx/configs/z16f2800100zcog/src/Makefile @@ -52,11 +52,16 @@ OBJS = $(AOBJS) $(COBJS) all: libboard$(LIBEXT) -$(AOBJS): %$(OBJEXT): %.S +$(ASRCS) $(HEAD_ASRC): %$(ASMEXT): %.S + @$(CPP) $(CPPFLAGS) $< -o $@.tmp + @cat $@.tmp | sed -e "s/^#/;/g" > $@ + @rm $@.tmp + +$(AOBJS): %$(OBJEXT): %$(ASMEXT) $(call ASSEMBLE, $<, $@) $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c - $(call COMPILE, $<, $@) + $(call COMPILE, `cygpath -w $<`, $@) libboard$(LIBEXT): $(OBJS) @( for obj in $(OBJS) ; do \ |