All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Adami <andrea.adami@gmail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-initramfs][PATCH] kexec-tools-klibc: fix build for mipsel
Date: Mon, 17 Dec 2018 22:28:53 +0100	[thread overview]
Message-ID: <CAAQYJAvKL2MozzPtLk8xqsLMMHigPyU-=HdgN4xSVd_QCBph2w@mail.gmail.com> (raw)
In-Reply-To: <CAAQYJAsRBfuHMQNFVjZkth4q-U8B1y6KPYF1VEhFPLxa_55t+g@mail.gmail.com>

On Mon, Dec 17, 2018 at 10:18 PM Andrea Adami <andrea.adami@gmail.com> wrote:
>
> On Mon, Dec 17, 2018 at 8:23 PM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > On Mon, Dec 17, 2018 at 10:15 AM Andrea Adami <andrea.adami@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@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

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@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel


  reply	other threads:[~2018-12-17 21:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-17 18:15 [meta-initramfs][PATCH] kexec-tools-klibc: fix build for mipsel Andrea Adami
2018-12-17 19:22 ` Khem Raj
2018-12-17 21:18   ` Andrea Adami
2018-12-17 21:28     ` Andrea Adami [this message]
2018-12-17 21:43       ` Andrea Adami

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAQYJAvKL2MozzPtLk8xqsLMMHigPyU-=HdgN4xSVd_QCBph2w@mail.gmail.com' \
    --to=andrea.adami@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.