[oe] [PATCH 03/11] linux-libc-headers 2.6.23: fix amd64 headers
Khem Raj
raj.khem at gmail.com
Wed Apr 15 19:09:13 UTC 2009
On (15/04/09 16:35), Roman I Khimov wrote:
> Taken from http://bugs.openembedded.net/show_bug.cgi?id=1728
> ---
> .../linux-libc-headers_2.6.23.bb | 12 ++++++++++++
> 1 files changed, 12 insertions(+), 0 deletions(-)
>
> diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> index 13579f9..db13a45 100644
> --- a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> +++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
> @@ -63,4 +63,16 @@ do_stage () {
> cp -pfLR ${STAGE_TEMP}${includedir}/linux ${STAGING_INCDIR}/
> cp -pfLR ${STAGE_TEMP}${includedir}/asm ${STAGING_INCDIR}/
> cp -pfLR ${STAGE_TEMP}${includedir}/asm-generic ${STAGING_INCDIR}/
> + if [ "${ARCH}" == "x86_64" ]; then
> + cp -pfLR ${STAGE_TEMP}${includedir}/asm-x86_64 ${STAGING_INCDIR}/
> + cp -pfLR ${STAGE_TEMP}${includedir}/asm-i386 ${STAGING_INCDIR}/
> + fi
> +}
> +
> +do_stage_append_multilib () {
> + mkdir ${STAGING_INCDIR}/${TARGET_SYS_MULTILIB}
> + ln -s ../linux ${STAGING_INCDIR}/${TARGET_SYS_MULTILIB}/linux
> + ln -s ../asm ${STAGING_INCDIR}/${TARGET_SYS_MULTILIB}/asm
> + ln -s ../asm-generic ${STAGING_INCDIR}/${TARGET_SYS_MULTILIB}/asm-generic
> + ln -s ../asm-i386 ${STAGING_INCDIR}/${TARGET_SYS_MULTILIB}/asm-i386
> }
is there any reason not to use sanitized header like we do in do_install
even for do_stage
> --
> 1.6.2.1
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
More information about the Openembedded-devel
mailing list