[PATCH 1/1] UBUNTU: Copy header files for various kernel media driver

Tim Gardner tim.gardner at canonical.com
Wed Mar 25 15:05:54 UTC 2009


Ike Panhc wrote:
> Tim Gardner wrote:
>> Andy Whitcroft wrote:
>>> I did have a look at the ramifications of including all .h files in the
>>> headers packages.  Basically it added about 60MB to the image, ie near to
>>> doubling it.  If that isn't a mental ammount we might consider including
>>> all of them.
>>>
>>> Thoughts?
>>>
>>> -apw
>>>
>> I'm not particularly keen on the idea of adding a zillion unnecessary
>> header files to the package. Nearly all of the .h files that are _not_
>> under include tend to be for internal private use by their specific
>> device drivers, media header files notwithstanding (but that's a
>> different issue).
>>
>> Anyway, I'm still waiting for the pull request from Ike.
>>
>> rtg
> 
> # du -s /usr/src/linux-headers-2.6.27-11/*
> 5476	/usr/src/linux-headers-2.6.27-11/arch
> 16	/usr/src/linux-headers-2.6.27-11/block
> 40	/usr/src/linux-headers-2.6.27-11/crypto
> 196	/usr/src/linux-headers-2.6.27-11/Documentation
> 4544	/usr/src/linux-headers-2.6.27-11/drivers
> 16	/usr/src/linux-headers-2.6.27-11/firmware
> 680	/usr/src/linux-headers-2.6.27-11/fs
> 28348	/usr/src/linux-headers-2.6.27-11/include
> 40	/usr/src/linux-headers-2.6.27-11/init
> 8	/usr/src/linux-headers-2.6.27-11/ipc
> 4	/usr/src/linux-headers-2.6.27-11/Kbuild
> 80	/usr/src/linux-headers-2.6.27-11/kernel
> 76	/usr/src/linux-headers-2.6.27-11/lib
> 60	/usr/src/linux-headers-2.6.27-11/Makefile
> 16	/usr/src/linux-headers-2.6.27-11/mm
> 768	/usr/src/linux-headers-2.6.27-11/net
> 36	/usr/src/linux-headers-2.6.27-11/samples
> 1488	/usr/src/linux-headers-2.6.27-11/scripts
> 72	/usr/src/linux-headers-2.6.27-11/security
> 816	/usr/src/linux-headers-2.6.27-11/sound
> 496	/usr/src/linux-headers-2.6.27-11/ubuntu
> 12	/usr/src/linux-headers-2.6.27-11/usr
> 
> Do we need the Kbuild and Makefile in linux-headers?
> I think there is something we can remove.
> I will check for that.
> 
> -- Ike Panhc
> 

They are needed in some cases for doing external module builds.

-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list