tools/kvm: Add a .s file rule
PATCH 1/1 tools/kvm: Add a .s file rule
Add a rule to the kvm tool Makefile to build .asm versions of the files. This is good for debugging purposes.
Cc Pekka Enberg <[email protected]>
Cc Sasha Levin <[email protected]>
Cc Asias He <[email protected]>
Signed-off-by Borislav Petkov <[email protected]>
--- tools/kvm/Makefile | 3 +++ 1 file changed, 3 insertions(+)
tools/kvm/Makefile +3 -0
@@ -314,6 +314,9 @@ util/rbtree.d: ../../lib/rbtree.c %.d: %.c $(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@ +%.s: %.c + $(Q) $(CC) -o $@ -S $(CFLAGS) -fverbose-asm $< + # The header file common-cmds.h is needed for compilation of builtin-help.c. builtin-help.d: $(KVM_INCLUDE)/common-cmds.h
Signature · 1 line
1.8.0.rc2
Pekka Enberg
AppliedQuoted 7 lines · Borislav Petkov
Add a rule to the kvm tool
Makefileto build .asm versions of the files. This is good for debugging purposes.Cc Pekka Enberg <[email protected]>Cc Sasha Levin <[email protected]>Cc Asias He <[email protected]>Signed-off-by Borislav Petkov <[email protected]>
Applied, thanks Borislav!
Quoted 22 lines
--- tools/kvm/Makefile | 3 +++ 1 file changed, 3 insertions(+)tools/kvm/Makefile +3
-0@@ -314,6 +314,9 @@ util/rbtree.d: ../../lib/rbtree.c %.d: %.c $(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@ +%.s: %.c + $(Q) $(CC) -o $@ -S $(CFLAGS) -fverbose-asm $< + # The header file common-cmds.h is needed for compilation of builtin-help.c. builtin-help.d: $(KVM_INCLUDE)/common-cmds.hSignature · 1 line
1.8.0.rc2