Fix Z16F context structure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@556 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
baa6965626
commit
2c5ef5bf85
@ -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
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user