Re: [PATCH v2 3/4] perf annotate: configure objdump path atcompile time

From: Namhyung Kim
Date: Tue Sep 25 2012 - 09:08:58 EST


Hi Irina,

2012-09-23 (ì), 22:27 +0300, Irina Tirdea:
> From: Irina Tirdea <irina.tirdea@xxxxxxxxx>
>
> The default name for objdump is "objdump". For cross-compiling the name of
> objdump will be different (e.g. arm-eabi-objdump in Android).
>
> Set the default objdump name in the Makefile with DEFAULT_OBJDUMP_PATH.

I thought about it twice and confused.

For cross-compiling, the resulting perf binary will run on target - say
Android - but the toolchain runs on host, right? So with this change
the cross-built perf will try to find the arm-eabi-objdump on Android.
Is it an intended behavior? Is there an arm-eabi-objdump on Android?

Thanks,
Namhyung


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/