[Skiboot] [PATCH] Make .lid and .lid.xz make targets patterns
Stewart Smith
stewart at linux.ibm.com
Mon Jul 15 12:02:05 AEST 2019
Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
Makefile.main | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.main b/Makefile.main
index fac6e4487460..2a8b48986957 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -258,10 +258,10 @@ ALL_OBJS = $(OBJS) version.o
ALL_OBJS_1 = $(TARGET).tmp.a asm/dummy_map.o
ALL_OBJS_2 = $(TARGET).tmp.a asm/real_map.o
-$(TARGET).lid.xz: $(TARGET).lid
+%.lid.xz: %.lid
$(call Q,XZ, cat $^ | xz -9 -C crc32 > $@, $@)
-$(TARGET).lid: $(TARGET).elf
+%.lid: %.elf
$(call Q,OBJCOPY, $(OBJCOPY) -O binary -S $^ $@, $@)
$(TARGET).lid.stb: $(TARGET).lid libstb/create-container
--
2.21.0
More information about the Skiboot
mailing list