Fix compilation problems with eZ80 targets

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1473 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-02-07 02:46:14 +00:00
parent 88bb6cca07
commit 196260a8c5
7 changed files with 17 additions and 9 deletions

View File

@ -609,5 +609,6 @@
* Updated all ARM Make.def files to work with gcc 2.4.2 (However, there are
still some build issues associated with that toolchain in use of arm-elf-objcopy
-- see the TODO.txt list for details)
* Fix problems with Z16F compilation introduced with recent changes.
* Fix problems with Z16F and eZ80 compilation introduced with recent changes.

View File

@ -1297,7 +1297,7 @@ nuttx-0.4.1 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
* Updated all ARM Make.def files to work with gcc 2.4.2 (However, there are
still some build issues associated with that toolchain in use of arm-elf-objcopy
-- see the TODO.txt list for details)
* Fix problems with Z16F compilation introduced with recent changes.
* Fix problems with Z16F and eZ80 compilation introduced with recent changes.
pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>

View File

@ -147,7 +147,6 @@ endef
define ASSEMBLE
@#echo "AS: $1"
@$(AS) -c $(AFLAGS) $1
@(wfile=`cygpath -w $1`; $(AS) $(AFLAGS) $$wfile)
endef

View File

@ -41,9 +41,9 @@ TARG_AOBJS = $(TARG_ASRCS:.S=$(OBJEXT))
TARG_CSRCS = nettest.c
ifeq ($(CONFIG_EXAMPLE_NETTEST_SERVER),y)
TARG_CSRCS += nettest-server.c
TARG_CSRCS += nettest_server.c
else
TARG_CSRCS += nettest-client.c
TARG_CSRCS += nettest_client.c
endif
TARG_COBJS = $(TARG_CSRCS:.c=$(OBJEXT))
@ -61,9 +61,9 @@ endif
HOST_SRCS = host.c
ifeq ($(CONFIG_EXAMPLE_NETTEST_SERVER),y)
HOST_SRCS += nettest-client.c
HOST_SRCS += nettest_client.c
else
HOST_SRCS += nettest-server.c
HOST_SRCS += nettest_server.c
endif
HOST_OBJS = $(HOST_SRCS:.c=.o)

View File

@ -57,7 +57,11 @@
/* Used printf for debug output */
# define message(...) printf(__VA_ARGS__)
# ifdef CONFIG_CPP_HAVE_VARARGS
# define message(...) printf(__VA_ARGS__)
# else
# define message printf
# endif
/* Have SO_LINGER */
@ -67,7 +71,11 @@
/* Used lib_rawprintf() so that there is not confusion from buffered IO */
# define message(...) lib_rawprintf(__VA_ARGS__)
# ifdef CONFIG_CPP_HAVE_VARARGS
# define message(...) lib_rawprintf(__VA_ARGS__)
# else
# define message lib_rawprintf
# endif
/* At present, uIP does only abortive disconnects */