From 65789e2a006a9764be9e7c313da666fa6d4dcbae Mon Sep 17 00:00:00 2001 From: Nicholas Piggin Date: Mon, 27 Apr 2020 21:08:09 +1000 Subject: build: -fverbose-asm for .s targets Signed-off-by: Nicholas Piggin Signed-off-by: Oliver O'Halloran --- Makefile.rules | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.rules') diff --git a/Makefile.rules b/Makefile.rules index 8c41c26..dcebde6 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -64,6 +64,10 @@ endif $(call Q,CC, $(CC) $(call cook_cflags,$@) -x c -c $< -o $@, $@) %.s : %.c + $(call Q,CC, $(CC) $(call cook_cflags,$@) -fverbose-asm -S -c $< -o $@, $@) + +# no -fverbose-asm for asm-offsets.s +asm/asm-offsets.s: asm/asm-offsets.c $(call Q,CC, $(CC) $(call cook_cflags,$@) -S -c $< -o $@, $@) %.i : %.c -- cgit v1.1