diff mbox series

Make .lid and .lid.xz make targets patterns

Message ID 20190715020205.8925-1-stewart@linux.ibm.com
State Accepted
Headers show
Series Make .lid and .lid.xz make targets patterns | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (4db38a36b31045f0a116d388ddeac850b38c8680)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot success Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Stewart Smith July 15, 2019, 2:02 a.m. UTC
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
---
 Makefile.main | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Vasant Hegde May 13, 2021, 1:55 p.m. UTC | #1
On 7/15/19 7:32 AM, Stewart Smith wrote:
> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>

I decided to merge this long pending patch! I know there are couple of other 
places to fix
(probably added after posting this patch). That's for some other day.

For now I have merged this to master as 4b9ca02779.

-Vasant
Stewart Smith May 13, 2021, 3:22 p.m. UTC | #2
On Thu, May 13, 2021, at 6:55 AM, Vasant Hegde wrote:
> On 7/15/19 7:32 AM, Stewart Smith wrote:
> > Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
> 
> I decided to merge this long pending patch! I know there are couple of other 
> places to fix
> (probably added after posting this patch). That's for some other day.
> 
> For now I have merged this to master as 4b9ca02779.

Cool... trying to remember back to what I was doing when writing it now... hopefully something sensible :)
diff mbox series

Patch

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