summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-29 20:07:16 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-29 20:07:16 +0000
commitd1143e0418c1cd3cbf447e8f49c57bda0e81d75c (patch)
treef9e1c487007a6ec7ad904597572d0e3cd3a8df70 /nuttx/arch/z80/src
parent851f6386a381fa4d783255a0ab3a9034c304c675 (diff)
downloadpx4-nuttx-d1143e0418c1cd3cbf447e8f49c57bda0e81d75c.tar.gz
px4-nuttx-d1143e0418c1cd3cbf447e8f49c57bda0e81d75c.tar.bz2
px4-nuttx-d1143e0418c1cd3cbf447e8f49c57bda0e81d75c.zip
Candidate fix for the libboard.a dependency problem (from Mike Smith)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4346 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/src')
-rw-r--r--nuttx/arch/z80/src/Makefile4
-rw-r--r--nuttx/arch/z80/src/Makefile.sdcc6
-rw-r--r--nuttx/arch/z80/src/Makefile.zdsii7
3 files changed, 11 insertions, 6 deletions
diff --git a/nuttx/arch/z80/src/Makefile b/nuttx/arch/z80/src/Makefile
index 93f32aa9d..92759de17 100644
--- a/nuttx/arch/z80/src/Makefile
+++ b/nuttx/arch/z80/src/Makefile
@@ -1,8 +1,8 @@
############################################################################
# arch/z80/src/Makefile
#
-# Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
-# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+# Copyright (C) 2007, 2008, 2011-2012 Gregory Nutt. All rights reserved.
+# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
diff --git a/nuttx/arch/z80/src/Makefile.sdcc b/nuttx/arch/z80/src/Makefile.sdcc
index a9152ea79..fdb949fa5 100644
--- a/nuttx/arch/z80/src/Makefile.sdcc
+++ b/nuttx/arch/z80/src/Makefile.sdcc
@@ -1,8 +1,8 @@
############################################################################
# arch/z80/src/Makefile.sdcc
#
-# Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
-# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+# Copyright (C) 2008, 2011-2012 Gregory Nutt. All rights reserved.
+# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -86,6 +86,8 @@ HEAP_BASE = ${shell ./mkhpbase.sh}
all: $(HEAD_OBJ) libarch$(LIBEXT)
+.PHONY: board/libboard$(LIBEXT)
+
$(AOBJS) $(HEAD_OBJ): %$(OBJEXT): %$(ASMEXT)
$(call ASSEMBLE, $<, $@)
diff --git a/nuttx/arch/z80/src/Makefile.zdsii b/nuttx/arch/z80/src/Makefile.zdsii
index 319d94cb2..a105597a9 100644
--- a/nuttx/arch/z80/src/Makefile.zdsii
+++ b/nuttx/arch/z80/src/Makefile.zdsii
@@ -1,8 +1,8 @@
############################################################################
# arch/z16/src/Makefile
#
-# Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
-# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+# Copyright (C) 2008, 2011-2012 Gregory Nutt. All rights reserved.
+# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -69,8 +69,11 @@ VPATH = chip:common
############################################################################
# Targets
+
all: $(HEAD_OBJ) libarch$(LIBEXT)
+.PHONY: board/libboard$(LIBEXT)
+
$(HEAD_GENSRC) $(GENSRCS) : %$(ASMEXT): %.S
@$(CPP) $(CPPFLAGS) $< -o $@.tmp
@cat $@.tmp | sed -e "s/^#/;/g" > $@