On Sun, 2008-06-08 at 12:41 +0200, Sam Ravnborg wrote: > headers_install.pl looks like this now. > I am not happy about the way I call unifdef - can it be > done better? Possibly. unifdef only actually handles "#ifdef __KERNEL__" and "#ifndef __KERNEL__", doesn't it? It shouldn't be too hard to recreate at least that much functionality in perl, surely? Bonus points for making it handle more interesting constructs like "#if defined (KERNEL) || defined (FOO)", and for warning/erroring whenever any ifdefs on CONFIG_xxx would be visible in userspace. But those can come later; we don't have those yet anyway. -- dwmw2 -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html