Re: [PATCH 1/2] virtio tools: strip bad include-path from Makefile
From: Ramkumar Ramachandra
Date: Wed Jul 10 2013 - 08:20:51 EST
Michael S. Tsirkin wrote:
>> CFLAGS contains a mysterious "-I ../../usr/include", but no such path
>> exists in the linux tree. The line was originally introduced in
>> 4e53f78e (tools/virtio: virtio_test tool, 2010-11-29), but no such path
>> existed in the tree even then.
>
> It exists if you do make headers_install.
I see. Why do we need these (or userspace headers) when /include
exists in the linux tree though?
> So it's handy for old distos where userspace headers don't
> exist or are out of date.
I thought userspace headers (linux-kernel-headers package in my
distribution) are used for building kernel modules that exist as
independent projects outside the linux tree (?).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/