[Olsr-dev] Building on Android

Hans-Christoph Steiner (spam-protected)
Wed Feb 1 17:07:38 CET 2012

On Feb 1, 2012, at 2:12 AM, Henning Rogge wrote:

> On 01/31/2012 09:56 PM, Hans-Christoph Steiner wrote:
>>> Hi!
>>> On Mon, Jun 28, 2010 at 8:19 AM, Henning Rogge
>>> <henning.rogge at fkie.fraunhofer.de>  wrote:
>>>> What licence do the kernel includes have ? I'm not sure if we can combine BSD
>>>> and GPL code into one repository.
>>> They are without license mentioned in the file. But probably it is
>>> GPL. But as it is really a small part of kernel codebase, without any
>>> real code but just definitions I think this can be a fair use case.
>>> http://www.gnu.org/licenses/gpl-faq.html#GPLFairUse
>> I know this is a very old thread, but I thought I'd just chime in since
>> I just saw directly relevant info.  Google includes special stripped
>> down versions of the Linux headers so they can be used under "fair use".
>>  Here's the statement in those headers:
>>  This header was automatically generated from a Linux kernel header
>>  of the same name, to make information necessary for userspace to
>>  call into the kernel available to libc.  It contains only constants,
>>  structures, and macros generated from the original header, and thus,
>>  contains no copyrightable information.
> When I look at the two kernel includes we have in the android subdirectory, they only contain structs, defines/macros and a few enums, nothing more. And a few single line comments.
> Maybe there are other kernel includes which contain more stuff?
> It also may be a good idea to have a look at the Android toolchain again, maybe the files are present in the current one!

I'm working with the latest NDK, that header has not shown up, and probably won't.  In general, Google doesn't want people mucking about at that level because they don't have a standard interface for it, and they are not requiring vendors to include those parts of the kernel to get Google certification.  I think its unlikely they'll ever provide it.



"A cellphone to me is just an opportunity to be irritated wherever you are." - Linus Torvalds

More information about the Olsr-dev mailing list