Messages in this thread | | | Date | Mon, 30 Jan 2012 22:05:15 +0100 | From | Michal Marek <> | Subject | Re: [PATCH 1/5] x86/jump-label: Use best default nops for inital jump label calls |
| |
On 27.1.2012 21:49, Steven Rostedt wrote: > I need to find a way to get the config options of the kernel into the > compiling of the update_jump_label.c. Then I could use the nops.h file > with the set configs.
You can do a #include "../include/generated/autoconf.h" and you will get the CONFIG_ definitions.
> Michal, can we get host tools to compile with the configs set by > the .config file?
Yeah, we should simply compile all the host tools with autoconf.h and kconfig.h included. The idea behind not doing this probably was that a single scripts/ directory should work with multiple kernel configurations, but this is obviously not the case.
Michal
| |