From 9418d81df58ea087cfbfb00984e29dc86e8aae2a Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 28 Feb 2007 13:42:19 +0000 Subject: [PATCH] Fix link problems git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@24 42af7a65-404d-4744-a932-0658087f49c3 --- arch/c5471/Make.defs | 3 --- arch/c5471/src/Makefile | 3 +++ arch/sim/Make.defs | 3 --- arch/sim/src/Makefile | 3 +++ 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/c5471/Make.defs b/arch/c5471/Make.defs index f75abdad61..359f4585ed 100644 --- a/arch/c5471/Make.defs +++ b/arch/c5471/Make.defs @@ -60,9 +60,6 @@ OBJDUMP = $(CROSSDEV)objdump CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \ $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) -pipe -LDFLAGS = $(ARCHSCRIPT) -EXTRA_LIBS = - OBJEXT = .o LIBEXT = .a diff --git a/arch/c5471/src/Makefile b/arch/c5471/src/Makefile index e2a4dc4ba6..3c1e50010c 100644 --- a/arch/c5471/src/Makefile +++ b/arch/c5471/src/Makefile @@ -56,6 +56,9 @@ COBJS = $(CSRCS:.c=.o) SRCS = $(ASRCS) $(CSRCS) OBJS = $(AOBJS) $(COBJS) +LDFLAGS = $(ARCHSCRIPT) +EXTRA_LIBS = + LINKOBJS = LINKLIBS = LDPATHES = $(addprefix -L$(TOPDIR)/,$(dir $(LINKLIBS))) diff --git a/arch/sim/Make.defs b/arch/sim/Make.defs index da5b1ba480..3e4d0cf75e 100644 --- a/arch/sim/Make.defs +++ b/arch/sim/Make.defs @@ -59,9 +59,6 @@ OBJDUMP = $(CROSSDEV)objdump CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \ $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) -pipe -LDFLAGS = $(ARCHSCRIPT) -EXTRA_LIBS = -lc - OBJEXT = .o LIBEXT = .a diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile index cb3f96b73f..a3be44f35a 100644 --- a/arch/sim/src/Makefile +++ b/arch/sim/src/Makefile @@ -51,6 +51,9 @@ COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) OBJS = $(AOBJS) $(COBJS) +LDFLAGS = $(ARCHSCRIPT) +EXTRA_LIBS = -lc + LINKOBJS = LINKLIBS = LDPATHES = $(addprefix -L$(TOPDIR)/,$(dir $(LINKLIBS)))