Message ID | 20180828142421.15335-1-semen.protsenko@linaro.org |
---|---|
Headers | show |
Series | Fix allmodconfig build with bare-metal toolchain | expand |
On Tue, Aug 28, 2018 at 5:24 PM Sam Protsenko <semen.protsenko@linaro.org> wrote: > > The kernel is self-contained project and can be built with bare-metal > toolchain. But bare-metal toolchain doesn't define u_quad_t type. > Because of this codafs build fails when building with bare-metal > toolchain. This patch fixes it by defining u_quad_t type in case when > non-Linux toolchain is used. > #endif /* !KERNEL */ I'm wondering what the heck KERNEL is doing in UAPI header. Looks like this header is split wrongly in the first place. > +#if defined(__KERNEL__) && !defined(__linux__) && !defined(_UQUAD_T_) && \ P.S. Actually it's the only header which uses KERNEL in UAPI. Definitely it should be fixed first. -- With Best Regards, Andy Shevchenko
On Tue, Aug 28, 2018 at 8:03 PM Andy Shevchenko <andy.shevchenko@gmail.com> wrote: > P.S. Actually it's the only header which uses KERNEL in UAPI. > Definitely it should be fixed first. Okay, it seems I missed __ parts. So, my statement above is wrong. -- With Best Regards, Andy Shevchenko