diff options
author | Borislav Petkov <[email protected]> | 2014-12-09 16:45:17 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-12-11 11:43:56 +0100 |
commit | 5de2b61a63f0982641eb00b9a6a9650f23487eaa (patch) | |
tree | f1361a739a91552a6a77dbe761bc43533b6783ed /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | f647d7c155f069c1a068030255c300663516420e (diff) |
x86/asm: Guard against building the 32/64-bit versions of the asm-offsets*.c file directly
Sometimes it is helpful to build a kernel compilation unit
directly, i.e.:
make .../<filename>.i
in order to look at compiler output.
Since asm-offsets_{32,64}.c are included by asm-offsets.c and
building them directly doesn't evaluate the macros used (thus
making the preprocessor output not very useful), error out when
an attempt is made to build them. Issue a hint for the user to
build asm-offsets.c instead.
Suggested-by: Michael Matz <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Michal Marek <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions