x86/arm: Make 'make debug' work properly.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 13 Aug 2016 02:15:04 +0000 (22:15 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 8 Sep 2016 01:13:07 +0000 (21:13 -0400)
When doing cross-compilation we should use proper $(OBJDUMP).
Otherwise decompiling say ARM 32 code using x86 objdump
won't help much.

Acked-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/Makefile

index 294fb9e25a50a8c051db36aecb3a8a648de27218..d68c84dccd435f86e5a67d1c50bbd0f5765113fd 100644 (file)
@@ -103,7 +103,7 @@ _uninstall:
 
 .PHONY: _debug
 _debug:
-       objdump -D -S $(TARGET)-syms > $(TARGET).s
+       $(OBJDUMP) -D -S $(TARGET)-syms > $(TARGET).s
 
 .PHONY: _clean
 _clean: delete-unfresh-files