[oe] [meta-initramfs][PATCH] kexec-tools-klibc: fix build for mipsel

Andrea Adami andrea.adami at gmail.com
Mon Dec 17 21:43:51 UTC 2018


On Mon, Dec 17, 2018 at 10:28 PM Andrea Adami <andrea.adami at gmail.com> wrote:
>
> On Mon, Dec 17, 2018 at 10:18 PM Andrea Adami <andrea.adami at gmail.com> wrote:
> >
> > On Mon, Dec 17, 2018 at 8:23 PM Khem Raj <raj.khem at gmail.com> wrote:
> > >
> > > On Mon, Dec 17, 2018 at 10:15 AM Andrea Adami <andrea.adami at gmail.com> wrote:
> > > >
> > > > Fix:
> > > > printf.c:2:10: fatal error: limits.h: No such file or directory
> > > > |  #include <limits.h>
> > > >
> > > > Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
> > > > ---
> > > >  meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | 1 +
> > > >  1 file changed, 1 insertion(+)
> > > >
> > > > diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
> > > > index e7553244d..872d79b93 100644
> > > > --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
> > > > +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
> > > > @@ -66,6 +66,7 @@ CFLAGS_x86-64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/i
> > > >  CFLAGS_arm_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32"
> > > >  CFLAGS_aarch64_append = "${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64"
> > > >  CFLAGS_mips_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32"
> > > > +CFLAGS_mipsel_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32"
> > > >  CFLAGS_mips64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64"
> > >
> > > I wonder if we just use use "mipsarch" override here once for all
> > > mips kinds.
>
> Note that there are different bitsizes...
> Please merge this, we'll think how to refactor this later.
> Cheers
>

ehm.. sorry for the noise, my git repo exploded...
This patch is already merged in master-next: archived as
not-applicable (anymore).

Cheers
Andrea


> Andrea
> P.S. Unfortunately my poor 3.13.5 bcm-tainted drivers do not survive to kexec.
> Will retry with a recent bmips for bcm7425
>
>
> > >
> > > >  CFLAGS_powerpc_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32"
> > > >
> > I am also wondering how to do that in another way.
> > Maybe a patch to adjust the included headers?
> >
> > Cheers
> > Andrea
> >
> > > > --
> > > > 2.17.1
> > > >
> > > > --
> > > > _______________________________________________
> > > > Openembedded-devel mailing list
> > > > Openembedded-devel at lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list