From: Wolfgang Denk Date: Wed, 25 Feb 2009 09:41:02 +0100 Subject: [U-Boot] [PATCH 02/11] arm: unified u-boot.lds In-Reply-To: <1235542278-21451-2-git-send-email-plagnioj@jcrosoft.com> References: <20090225060934.GB26416@game.jcrosoft.org> <1235542278-21451-1-git-send-email-plagnioj@jcrosoft.com> <1235542278-21451-2-git-send-email-plagnioj@jcrosoft.com> Message-ID: <20090225084102.B162A832E43F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1235542278-21451-2-git-send-email-plagnioj@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > .gitignore | 1 + > Makefile | 1 - > arm_config.mk | 1 + > board/actux1/config.mk | 1 + > board/actux2/config.mk | 1 + > board/actux3/config.mk | 1 + ... > diff --git a/arm_config.mk b/arm_config.mk > index 73d9625..d821c36 100644 > --- a/arm_config.mk > +++ b/arm_config.mk > @@ -22,3 +22,4 @@ > # > > PLATFORM_CPPFLAGS += -DCONFIG_ARM -D__ARM__ > +LDSCRIPT := $(OBJTREE)/lib_$(ARCH)/u-boot.lds ---------------^^^^^^^^^^ > diff --git a/board/actux1/config.mk b/board/actux1/config.mk > index 9a634cd..cddd01e 100644 > --- a/board/actux1/config.mk > +++ b/board/actux1/config.mk > @@ -2,3 +2,4 @@ TEXT_BASE = 0x00e00000 > > # include NPE ethernet driver > BOARDLIBS = cpu/ixp/npe/libnpe.a > +LDSCRIPT = $(SRCTREE)/board/$(BOARDDIR)/u-boot.lds --------------^^^^^^^^^^ etc. Is it $(OBJTREE)/lib_$(ARCH) or $(SRCTREE)/board/$(BOARDDIR) ? Should we not put a generic definition in the top level Makefile that then can be oiverridden (where needed) in the config files? ... > - * (C) Copyright 2000 > - * Wolfgang Denk, DENX Software Engineering, wd at denx.de. ... > - * Copyright (C) 2005-2007 Samsung Electronics > - * Kyungin Park > - * > - * January 2004 - Changed to support H4 device > - * Copyright (c) 2004 Texas Instruments > - * > - * (C) Copyright 2002 > - * Gary Jennejohn, DENX Software Engineering, ... > - * (C) Copyright 2000-2004 > - * Wolfgang Denk, DENX Software Engineering, wd at denx.de. > - * 2004 (c) MontaVista Software, Inc. ... > - * (C) Copyright 2000-2004 > - * Wolfgang Denk, DENX Software Engineering, wd at denx.de. ... > - * (C) Copyright 2000 > - * Wolfgang Denk, DENX Software Engineering, wd at denx.de. > - * 2003 (c) MontaVista Software, Inc. ... > - * January 2004 - Changed to support H4 device > - * Copyright (c) 2004 Texas Instruments ... > - * January 2004 - Changed to support H4 device > - * Copyright (c) 2004 Texas Instruments > - * > - * (C) Copyright 2002 > - * Gary Jennejohn, DENX Software Engineering, ... > - * (c) Copyright 2004 > - * Techware Information Technology, Inc. > - * http://www.techware.com.tw/ ... > - * (C) Copyright 2002-2004 > - * Gary Jennejohn, DENX Software Engineering, ... > - * (C) Copyright 2006 > - * Wolfgang Denk, DENX Software Engineering, wd at denx.de. ... > - * (C) Copyright 2000-2005 > - * Wolfgang Denk, DENX Software Engineering, wd at denx.de. ... > - * (C) Copyright 2004 > - * Wolfgang Denk, DENX Software Engineering, I'm not sure if you can simply drop all these Copyright notices (even if the code was oviously all just copied from the same base file. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Remember that Beethoven wrote his first symphony in C ...