[Skiboot] [PATCH v2 08/10] npu: Move npu.o and npu-hw-procedules.o under CONIFG_P8

Nicholas Piggin npiggin at gmail.com
Sat Aug 7 14:20:58 AEST 2021


From: Stewart Smith <stewart at flamingspork.com>

This saves an extra 6kb of skiboot.lid.xz.

Signed-off-by: Stewart Smith <stewart at flamingspork.com>
---
 hw/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/Makefile.inc b/hw/Makefile.inc
index d436da222..ff207b166 100644
--- a/hw/Makefile.inc
+++ b/hw/Makefile.inc
@@ -10,9 +10,9 @@ HW_OBJS += npu2-common.o npu2-opencapi.o phys-map.o sbe-p9.o capp.o
 HW_OBJS += occ-sensor.o vas.o sbe-p8.o dio-p9.o lpc-port80h.o cache-p9.o
 HW_OBJS += npu-opal.o npu3.o npu3-nvlink.o npu3-hw-procedures.o
 HW_OBJS += ocmb.o xive2.o
-HW_OBJS += npu.o npu-hw-procedures.o
 ifeq ($(CONFIG_P8),1)
 HW_OBJS += phb3.o
+HW_OBJS += npu.o npu-hw-procedures.o
 endif
 HW=hw/built-in.a
 
-- 
2.23.0



More information about the Skiboot mailing list