[coreboot] [Patch 2/4] compile sb800 code without agesav5

Stefan Reinauer stefan.reinauer at coreboot.org
Fri Apr 22 21:58:22 CEST 2011


* She, Kerry <Kerry.She at amd.com> [110422 05:12]:
> Signed-off-by: Kerry She <Kerry.she at amd.com>
> 
> SB800 CIMX code can share the AGESA V5 lib code,
> some platform only use sb800 cimx code, not use AGESA v5 code,
> compile the sb800 cimx and AGESA v5 lib code.
> 
> Signed-off-by: Kerry She <Kerry.she at amd.com>
> 
> Index: Makefile.inc
> ===================================================================
> --- Makefile.inc        (revision 6481)
> +++ Makefile.inc        (working copy)
> @@ -110,7 +110,9 @@
>  CFLAGS += -Werror
>  endif
>  ifneq ($(CONFIG_AMD_AGESA),y)
> -CFLAGS += -nostdinc
> + ifneq ($(CONFIG_AMD_CIMX_SB800),y)
> +  CFLAGS += -nostdinc
> + endif
>  endif
>  CFLAGS += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer
> 

Why is that needed. Can we instead fix the code, please?





More information about the coreboot mailing list