[oe] [PATCH] angstrom-2008.1.conf: Use ?= on PREFERRED_VERSION_linux-libc-headers.
Koen Kooi
k.kooi at student.utwente.nl
Mon Dec 7 10:41:33 UTC 2009
On 06-12-09 23:44, Leon Woestenberg wrote:
> This allows machines/archs to override towards older kernels and
> matching headers. This was needed for nios2.
>
> Signed-off-by: Leon Woestenberg<leon at sidebranch.com>
> ---
> conf/distro/angstrom-2008.1.conf | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/conf/distro/angstrom-2008.1.conf b/conf/distro/angstrom-2008.1.conf
> index 51d8242..abc9a93 100644
> --- a/conf/distro/angstrom-2008.1.conf
> +++ b/conf/distro/angstrom-2008.1.conf
> @@ -79,7 +79,7 @@ PREFERRED_VERSION_linux-handhelds-2.6 ?= "2.6.21-hh20"
> #KERNEL_INITRAMFS_PATH = "${KERNEL_INITRAMFS_DIR}/$(readlink ${KERNEL_INITRAMFS_DIR}initramfs-bootmenu-image-${MACHINE}.cpio.gz)"
>
> #This is unrelated to the kernel version, but userspace apps (e.g. HAL) require a recent version to build against
> -PREFERRED_VERSION_linux-libc-headers ?= "2.6.31"
> +PREFERRED_VERSION_linux-libc-headers = "2.6.31"
>
> #Prefer glibc 2.6 and uclibc 0.9.30, these have had the most testing.
> PREFERRED_VERSION_glibc ?= "2.9"
NAK
If an arch really needs another version you need to do
PREFERRED_VERSION_linux-libc-headers_nios2 = "2.6.other"
That way we know that it is nios that needs an older kernel. The actual
preferred solution is to patch nios2 support into linux-libc-headers-2.6.31.
regards,
Koen
More information about the Openembedded-devel
mailing list