diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-13 15:31:26 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-13 15:31:26 +0000 |
commit | 421de422e496c48fdb1aa9cd5711729c5d702f32 (patch) | |
tree | b73222a61ec92e40f3e764da1ec0b08df9dd7546 /nuttx/configs/z16f2800100zcog | |
parent | cbb53cff763928f52d5d4851d9993b0b0fc73d8a (diff) | |
download | px4-nuttx-421de422e496c48fdb1aa9cd5711729c5d702f32.tar.gz px4-nuttx-421de422e496c48fdb1aa9cd5711729c5d702f32.tar.bz2 px4-nuttx-421de422e496c48fdb1aa9cd5711729c5d702f32.zip |
Fix Z16F context structure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@556 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/z16f2800100zcog')
-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 \ |