On Tuesday, December 28, 2010 07:43:30 Michael Schwingen wrote:
> Signed-off-by: Michael Schwingen <[email protected]>
> ---
>  config.mk                |    6 ++++++
>  include/configs/actux1.h |    1 +
>  include/configs/actux2.h |    1 +
>  include/configs/actux3.h |    1 +
>  include/configs/actux4.h |    1 +
>  5 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/config.mk b/config.mk
> index 66f8fe6..f7c7760 100644
> --- a/config.mk
> +++ b/config.mk
> @@ -152,6 +152,9 @@ endif
>  RELFLAGS= $(PLATFORM_RELFLAGS)
>  DBGFLAGS= -g # -DDEBUG
>  OPTFLAGS= -Os #-fomit-frame-pointer
> +ifeq ($(CONFIG_USE_FUNCTION_SECTIONS),y)
> +OPTFLAGS += -ffunction-sections
> +endif

you can already do this with board config.mk and PLATFORM_RELFLAGS.  no need 
to introduce some random new config name for a random compiler flag.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to