[U-Boot] [PATCH] Add LDFLAGS-u-boot variable and move some linker option to this

Wolfgang Denk wd at denx.de
Mon Dec 27 11:47:54 CET 2010


Dear Nobuhiro Iwamatsu,

In message <1293433224-17341-1-git-send-email-iwamatsu at nigauri.org> you wrote:
> This move linker option used by the last of u-boot in LDFLAGS_u-boot variable.
> And the option to use in ld uses LDFLAGS variable.

Can you please explain why this would be needed?

> -LDFLAGS += --gc-sections -m elf32bfin
> +LDFLAGS_u-boot += --gc-sections

The name "LDFLAGS_u-boot" may actually work here, but iut is
inconsistent with other such variables names, and using '-' in a name
is probably not a good idea either.



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
Star Trek Lives!


More information about the U-Boot mailing list