[Skiboot] [PATCH 6/7] platforms: put P8 platforms behind CONFIG_P8

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Fri Feb 12 17:50:05 AEDT 2021


On 1/25/21 6:28 AM, Stewart Smith wrote:
> Can shave an additional 4kb off skiboot.lid.xz
> 
> Signed-off-by: Stewart Smith <stewart at flamingspork.com>
> ---
>   platforms/astbmc/Makefile.inc | 12 ++++++++----
>   1 file changed, 8 insertions(+), 4 deletions(-)
> 
> diff --git a/platforms/astbmc/Makefile.inc b/platforms/astbmc/Makefile.inc
> index 24e94039..bd0e578f 100644
> --- a/platforms/astbmc/Makefile.inc
> +++ b/platforms/astbmc/Makefile.inc
> @@ -1,14 +1,18 @@
>   SUBDIRS += $(PLATDIR)/astbmc
> 
>   ASTBMC_OBJS = pnor.o common.o slots.o \
> -	      palmetto.o habanero.o firestone.o \
> -	      p8dtu.o p8dnu.o \
> -	      garrison.o barreleye.o \
>   	      witherspoon.o zaius.o romulus.o p9dsu.o \
> -	      vesnin.o nicole.o mihawk.o mowgli.o \
> +	      nicole.o mihawk.o mowgli.o \
>   	      talos.o blackbird.o \
>   	      swift.o
> 
> +ifeq ($(CONFIG_P8),1)
> +ASTBMC_OBJS += palmetto.o habanero.o firestone.o \
> +	      p8dtu.o p8dnu.o \
> +	      garrison.o barreleye.o \
> +	      vesnin.o
> +endif

May be we can put firenze (platforms/ibm-fsp/firenze.c) behind CONFIG_P8.

-Vasant


> +
>   ASTBMC = $(PLATDIR)/astbmc/built-in.a
>   $(ASTBMC): $(ASTBMC_OBJS:%=$(PLATDIR)/astbmc/%)
> 



More information about the Skiboot mailing list