powerpc: Move core kernel logic into arch/powerpc/Kbuild
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 10 Oct 2018 05:13:05 +0000 (16:13 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 18 Oct 2018 13:56:17 +0000 (00:56 +1100)
commitc47ca98d32a22a412ddbc69916cf62bdcdfa1a4e
tree7f2d46541f29e71465839ca2197ebea1d5aa8b5f
parentfc0c8b36d379a046525eacb9c3323ca635283757
powerpc: Move core kernel logic into arch/powerpc/Kbuild

This is a nice cleanup, arch/powerpc/Makefile is long and messy so
moving this out helps a little.

It also allows us to do:

  $ make arch/powerpc

Which can be helpful if you just want to compile test some changes to
arch code and not link everything.

Finally it also gives us a single place to do subdir-cc-flags
assignments which affect the whole of arch/powerpc, which we will do
in a future patch.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kbuild [new file with mode: 0644]
arch/powerpc/Makefile