Re: [GIT PULL] Kbuild updates for v4.15 (2nd round)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chris, Yamada-san,

On Fri, Nov 24, 2017 at 5:58 PM, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
> Please pull a little more Kbuild updates for v4.15.
> The reason for lateness is I hesitated to put some patches
> in the last week pull requests due to big conflicts.
> Also, I applied some fixes and trivial enough ones.
> I hope you will pull this.
>
>
>
> The following changes since commit 2ce079f04d5914dae14fdc8618f804cc0d2a1b8f:
>
>   Merge tag 'kbuild-misc-v4.15' of
> git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
> (2017-11-17 17:51:33 -0800)
>
> are available in the git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
> tags/kbuild-v4.15-2
>
> for you to fetch changes up to 10aaa3b7e95b9649fd658ac7e9075093316425d8:
>
>   kbuild: drop $(extra-y) from real-objs-y (2017-11-23 23:29:26 +0900)
>
> ----------------------------------------------------------------
> Kbuild updates for v4.15 (2nd)

> Chris Fries (1):
>       kbuild: Set KBUILD_CFLAGS before incl. arch Makefile

This broke cross-compilation using a cross-compiler that supports less
compiler options than the host compiler. E.g.:

    cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"

Reverting commit ae6b289a37890909 ("kbuild: Set KBUILD_CFLAGS before incl.
arch Makefile", which was in linux-next since next-20171124) fixes that.

BTW, this gets broken regularly, cfr. e.g. commits a1c48bb160f8368e ("Makefile:
Fix unrecognized cross-compiler command line options") and bef5b54bd7bf8117
("Fix MIPS cross-compile problem").

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux