]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
powerpc: Drop -me200 addition to build flags
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Nov 2020 12:09:13 +0000 (23:09 +1100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 20 Jan 2021 13:25:07 +0000 (14:25 +0100)
commit40c07742471cec59f08f2c360b2a98bcae084246
treeb5652684580625a3cb55be201fd19c3fcc7dde56
parente4913bf05eec2610166cbfa1d8d8cd55eb155e01
powerpc: Drop -me200 addition to build flags

BugLink: https://bugs.launchpad.net/bugs/1910816
[ Upstream commit e02152ba2810f7c88cb54e71cda096268dfa9241 ]

Currently a build with CONFIG_E200=y will fail with:

  Error: invalid switch -me200
  Error: unrecognized option -me200

Upstream binutils has never supported an -me200 option. Presumably it
was supported at some point by either a fork or Freescale internal
binutils.

We can't support code that we can't even build test, so drop the
addition of -me200 to the build flags, so we can at least build with
CONFIG_E200=y.

Reported-by: Németh Márton <nm127@freemail.hu>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Scott Wood <oss@buserror.net>
Link: https://lore.kernel.org/r/20201116120913.165317-1-mpe@ellerman.id.au
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
arch/powerpc/Makefile