Ingo Molnar <mi...@kernel.org> wrote: > Arnaldo: the way we include some of the include files directly > into tools/perf/ .c files [such as hw_breakpoint.h] and > represent others transparently via utils/include/ [such as > rbtree.h] is a bit messy and ought to be cleaned up I suspect.
I tried to make the USERINCLUDE macro in the bottom-level Makefile that, but I didn't realise I had to export it:-(. That, however, also brings in linux/kconfig.h but I don't know whether you want/need that. > I think the best model would be to cleanly separate from any > /usr/include/linux/ muck, which might be out of sync, and which > might stand in the way of changes. Is it possible to exclude all > of /usr/include/ and try to build purely from > include/uapi/linux/ You would also need arch/foo/include/uapi/. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/