From a3560dc47b3cf2eef3ebf0e0c9765e11bdf66b6a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 23 Jan 2003 17:55:27 +0000 Subject: Update architecture specific support to consistantly generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main(). --- libc/sysdeps/linux/cris/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/cris/Makefile') diff --git a/libc/sysdeps/linux/cris/Makefile b/libc/sysdeps/linux/cris/Makefile index b3d7d16c5..8a860f188 100644 --- a/libc/sysdeps/linux/cris/Makefile +++ b/libc/sysdeps/linux/cris/Makefile @@ -1,3 +1,7 @@ +# Makefile for uClibc +# +# Copyright (C) 2000-2003 Erik Andersen +# # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU Library General Public License as published by the Free # Software Foundation; either version 2 of the License, or (at your option) any @@ -37,7 +41,7 @@ $(LIBC): ar-target ar-target: $(OBJS) $(CRT0_OBJ) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) - cp $(CRT0_OBJ) $(TOPDIR)libc/$(CRT0_OBJ) + cp $(CRT0_OBJ) $(TOPDIR)lib/ $(CRT0_OBJ): $(CRT0_SRC) $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o -- cgit v1.2.3