aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2020-04-27 21:08:09 +1000
committerOliver O'Halloran <oohall@gmail.com>2020-06-11 12:52:55 +1000
commit65789e2a006a9764be9e7c313da666fa6d4dcbae (patch)
treeeff97f1d5e168c4cea1cb335984d3dfd02bce91a /Makefile.rules
parent8c49753c04ae39cbd9b238484ccb8de88a4355df (diff)
downloadskiboot-65789e2a006a9764be9e7c313da666fa6d4dcbae.zip
skiboot-65789e2a006a9764be9e7c313da666fa6d4dcbae.tar.gz
skiboot-65789e2a006a9764be9e7c313da666fa6d4dcbae.tar.bz2
build: -fverbose-asm for .s targets
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 4 insertions, 0 deletions
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