Bug 7090 - support hand-built kernels built with O=<dir> option
Summary: support hand-built kernels built with O=<dir> option
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: translator (show other bugs)
Version: unspecified
: P3 minor
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-09 21:44 UTC by Masami Hiramatsu
Modified: 2008-12-22 21:06 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
[PATCH] kernel built with O= option support (501 bytes, patch)
2008-12-22 19:22 UTC, Masami Hiramatsu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Masami Hiramatsu 2008-12-09 21:44:21 UTC
With O=<dir> option, several kernel headers are under <dir>/include. So stap
can't check autoconfs correctly, and fails to compile modules.

To avoid this problem, stap needs to use flags macro defined in
scripts/Kbuild.include to update KBUILD_CFLAGS.
Comment 1 Masami Hiramatsu 2008-12-22 19:22:11 UTC
Created attachment 3623 [details]
[PATCH] kernel built with O= option support

Here is a patch to fix this issue.
Comment 2 Masami Hiramatsu 2008-12-22 21:06:12 UTC
Patch committed.