ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] config option use BSP kernel headers with >= linux-2.6.17


From: Stuart Hughes
Subject: Re: [Ltib] config option use BSP kernel headers with >= linux-2.6.17
Date: Thu, 21 Mar 2013 18:36:57 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Thunderbird/17.0.4

Hi Aaron,

>From what I recall 'make headers_install' is not sufficient on all
platforms to provide the required interface.  IIRC the
PKG_KERNEL_WANT_HEADERS leaves the actual kernel headers unpacked so
that some packages can reach indirectly and grab what they want.

Regards, Stuart

On 19/03/13 19:35, Aaron Wegner wrote:
> Going through the Git log of the Linux kernel it seems like there has been
> a basic implementation of 'make headers_install' since about 2.6.17.  I
> was trying to install the headers of a 3.8 kernel and running into some
> problems.  I seemed to be able to overcome these by editing
> dist/lfs-5.1/kernel/kernel-common.tmpl and replacing the
> PKG_KERNEL_WANT_HEADERS section with the following.
> 
> if [ -n "$PKG_KERNEL_WANT_HEADERS" ]
> then
>     make ARCH=$LINTARCH HOSTCC="$BUILDCC"
> INSTALL_HDR_PATH=$RPM_BUILD_ROOT/%{pfx}/usr/src/linux headers_install
> fi
> 
> Maybe this could be a patch?  Not exactly sure how to specify the
> condition that the kernel version is greater than or equal to one in which
> the 'make headers_install' is working well, but for recent kernels the
> current LTIB spec file fails since the includes are reordered from the old
> way.
> 
> 
> Thanks,
> 
> Aaron
> 
> 
> 
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]