[4.4] Backport request: powerpc: Fix compiling a BE kernel with a powerpc64le toolchain

2 messages, 2 authors, 2019-11-14 · open the first message on its own page

[4.4] Backport request: powerpc: Fix compiling a BE kernel with a powerpc64le toolchain

From: Andrew Donnellan <hidden>
Date: 2019-11-12 08:52:37

Dear stable team

Please backport the following patches.

Commits:

- 164af597ce945751e2dcd53d0a86e84203a6d117
   ("powerpc/Makefile: Use cflags-y/aflags-y for setting endian options")

- 4dc831aa88132f835cefe876aa0206977c4d7710
   ("powerpc: Fix compiling a BE kernel with a powerpc64le toolchain")

Stable tree targeted: 4.4 (applies cleanly)

Justification: This fixes the build when attempting to compile a BE 
powerpc kernel using a bi-endian toolchain that defaults to LE, which is 
a common setup.

I have tested that these patches apply cleanly and appear to rectify the 
build failure on my machine.


Thanks,
-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd@linux.ibm.com             IBM Australia Limited

Re: [4.4] Backport request: powerpc: Fix compiling a BE kernel with a powerpc64le toolchain

From: Greg KH <hidden>
Date: 2019-11-14 06:01:55

On Tue, Nov 12, 2019 at 07:52:24PM +1100, Andrew Donnellan wrote:
Dear stable team

Please backport the following patches.

Commits:

- 164af597ce945751e2dcd53d0a86e84203a6d117
  ("powerpc/Makefile: Use cflags-y/aflags-y for setting endian options")

- 4dc831aa88132f835cefe876aa0206977c4d7710
  ("powerpc: Fix compiling a BE kernel with a powerpc64le toolchain")

Stable tree targeted: 4.4 (applies cleanly)

Justification: This fixes the build when attempting to compile a BE powerpc
kernel using a bi-endian toolchain that defaults to LE, which is a common
setup.

I have tested that these patches apply cleanly and appear to rectify the
build failure on my machine.
Now queued up, thanks.

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help