summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-08 13:02:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-08 13:02:47 +0000
commitbb2884d0309904ee1e8a908a27884c83bb12ce5a (patch)
treebe9be369e3c8d01ca49e1b0ff5ff98840c03f054 /nuttx/arch/z80
parent83e56741af20c97effc60906ddbc1ad7230b1f27 (diff)
downloadpx4-nuttx-bb2884d0309904ee1e8a908a27884c83bb12ce5a.tar.gz
px4-nuttx-bb2884d0309904ee1e8a908a27884c83bb12ce5a.tar.bz2
px4-nuttx-bb2884d0309904ee1e8a908a27884c83bb12ce5a.zip
ZNeo compiler now works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@525 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80')
-rw-r--r--nuttx/arch/z80/src/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/arch/z80/src/Makefile b/nuttx/arch/z80/src/Makefile
index 5c9ccb5d3..b1025ed67 100644
--- a/nuttx/arch/z80/src/Makefile
+++ b/nuttx/arch/z80/src/Makefile
@@ -165,7 +165,7 @@ libarch$(LIBEXT): up_mem.h asm_mem.h $(OBJS)
# This builds the libboard library in the board/ subdirectory
board/libboard$(LIBEXT):
- $(MAKE) -C board TOPDIR=$(TOPDIR) libboard$(LIBEXT)
+ $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT)
# This target builds the final executable
@@ -190,8 +190,8 @@ pass1.ihx: up_mem.h asm_mem.h $(SDCCLIBDIR)/myz80.lib $(HEAD_AOBJ) board/libboar
$(LD) -f pass1.lnk
@rm -f up_mem.h asm_mem.h
@rm -f up_allocateheap$(OBJEXT) $(HEAD_AOBJ) libarch$(LIBEXT)
- @$(MAKE) TOPDIR=$(TOPDIR) libarch$(LIBEXT)
- @$(MAKE) TOPDIR=$(TOPDIR) $(HEAD_AOBJ)
+ @$(MAKE) TOPDIR="$(TOPDIR)" libarch$(LIBEXT)
+ @$(MAKE) TOPDIR="$(TOPDIR)" $(HEAD_AOBJ)
nuttx.ihx: up_mem.h asm_mem.h $(SDCCLIBDIR)/myz80.lib $(HEAD_AOBJ) board/libboard$(LIBEXT)
@echo "--" >nuttx.lnk # Non-interactive
@@ -222,7 +222,7 @@ nuttx$(EXEEXT): pass1.ihx nuttx.ihx
.depend: Makefile up_mem.h asm_mem.h chip/Make.defs $(DEPSRCS)
@if [ -e board/Makefile ]; then \
- $(MAKE) -C board TOPDIR=$(TOPDIR) depend ; \
+ $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \
fi
$(MKDEP) --dep-path chip --dep-path common $(CC) -- $(CFLAGS) -- $(DEPSRCS) >Make.dep
@touch $@
@@ -231,7 +231,7 @@ depend: .depend
clean:
@if [ -e board/Makefile ]; then \
- $(MAKE) -C board TOPDIR=$(TOPDIR) clean ; \
+ $(MAKE) -C board TOPDIR="$(TOPDIR)" clean ; \
fi
rm -f libarch$(LIBEXT) up_mem.h asm_mem.h pass1.* nuttx.*
rm -f *.asm *.rel *.lst *.rst *.sym *.adb *.lnk *.map *.mem *.ihx *.hex
@@ -240,7 +240,7 @@ clean:
distclean: clean
@if [ -e board/Makefile ]; then \
- $(MAKE) -C board TOPDIR=$(TOPDIR) distclean ; \
+ $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
fi
rm -f Make.dep .depend