powerpc/boot: Fix random libfdt related build errors
authorGuenter Roeck <linux@roeck-us.net>
Fri, 23 Feb 2018 20:55:59 +0000 (12:55 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Feb 2018 11:28:34 +0000 (22:28 +1100)
commit64c3f648c25d108f346fdc96c15180c6b7d250e9
treeabb175595475fff22c51267877afb638a966c7da
parent192b2e742c06af399e8eecb4a1726520bfccece8
powerpc/boot: Fix random libfdt related build errors

Once in a while I see build errors similar to the following
when building images from a clean tree.

  Building powerpc:virtex-ml507:44x/virtex5_defconfig ... failed
  ------------
  Error log:
  arch/powerpc/boot/treeboot-akebono.c:37:20: fatal error:
   libfdt.h: No such file or directory

  Building powerpc:bamboo:smpdev:44x/bamboo_defconfig ... failed
  ------------
  Error log:
  arch/powerpc/boot/treeboot-akebono.c:37:20: fatal error:
   libfdt.h: No such file or directory

  arch/powerpc/boot/treeboot-currituck.c:35:20: fatal error:
       libfdt.h: No such file or directory

Rebuilds will succeed.

Turns out that several source files in arch/powerpc/boot/ include
libfdt.h, but Makefile dependencies are incomplete. Let's fix that.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/boot/Makefile