[Skiboot] [PATCH 6/7] platforms: put P8 platforms behind CONFIG_P8
Stewart Smith
stewart at flamingspork.com
Mon Jan 25 11:58:06 AEDT 2021
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
+
ASTBMC = $(PLATDIR)/astbmc/built-in.a
$(ASTBMC): $(ASTBMC_OBJS:%=$(PLATDIR)/astbmc/%)
--
2.29.2
More information about the Skiboot
mailing list