[U-Boot] [PATCH 1/1] mips: unify lds

Wolfgang Denk wd at denx.de
Sun May 10 23:34:54 CEST 2009


Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <1241989002-21623-1-git-send-email-plagnioj at jcrosoft.com> you wrote:
> all mips boards except a few use the same cpu lds so move it to cpu/$(CPU)
> 
> that could be overwrite in following order
> SOC
> BOARD
> via the corresponding config.mk
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Cc: Shinya Kuribayashi <shinya.kuribayashi at necel.com>
...
> diff --git a/Makefile b/Makefile
> index ee09856..2cb0ce2 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -3222,6 +3222,7 @@ dbau1550_config		:	unconfig
>  dbau1550_el_config	:	unconfig
>  	@mkdir -p $(obj)include
>  	@echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h
> +	@echo "#define CONFIG_CPU_LITTLE_ENDIAN" >>$(obj)include/config.h
>  	@$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
>  
>  gth2_config		:	unconfig
> @@ -3232,6 +3233,7 @@ gth2_config		:	unconfig
>  pb1000_config		:	unconfig
>  	@mkdir -p $(obj)include
>  	@echo "#define CONFIG_PB1000 1" >$(obj)include/config.h
> +	@echo "#define CONFIG_CPU_LITTLE_ENDIAN" >>$(obj)include/config.h
>  	@$(MKCONFIG) -a pb1x00 mips mips pb1x00

These changes look unrelated to the linker script stuff you mention in
the commit message ?  If they are related, you should explain what you
are doing here, and why.

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
A dog always bit deepest on the veterinary hand.
                                    - Terry Pratchett, _Wyrd Sisters_


More information about the U-Boot mailing list