1. 11 Oct, 2018 3 commits
  2. 05 Oct, 2018 1 commit
  3. 04 Oct, 2018 4 commits
  4. 02 Oct, 2018 9 commits
    • Rob Herring's avatar
      microblaze: enable building all dtbs · 92f687f4
      Rob Herring authored
      Enable the 'dtbs' target for microblaze. As microblaze only has one dts
      file, always enable it.
      
      Cc: Michal Simek <monstr@monstr.eu>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      92f687f4
    • Rob Herring's avatar
      c6x: enable building all dtbs · 626f92a0
      Rob Herring authored
      Enable the 'dtbs' target for c6x. This allows building all the dts
      files in arch/c6x/boot/dts/ for enabled platforms or when
      COMPILE_TEST and OF_ALL_DTBS are enabled.
      
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
      Cc: linux-c6x-dev@linux-c6x.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      626f92a0
    • Rob Herring's avatar
      powerpc: enable building all dtbs · 27e88af4
      Rob Herring authored
      Enable the 'dtbs' target for powerpc. This allows building all the dts
      files in arch/powerpc/boot/dts/ when COMPILE_TEST and OF_ALL_DTBS are
      enabled.
      
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      27e88af4
    • Rob Herring's avatar
      kbuild: consolidate Devicetree dtb build rules · 37c8a5fa
      Rob Herring authored
      There is nothing arch specific about building dtb files other than their
      location under /arch/*/boot/dts/. Keeping each arch aligned is a pain.
      The dependencies and supported targets are all slightly different.
      Also, a cross-compiler for each arch is needed, but really the host
      compiler preprocessor is perfectly fine for building dtbs. Move the
      build rules to a common location and remove the arch specific ones. This
      is done in a single step to avoid warnings about overriding rules.
      
      The build dependencies had been a mixture of 'scripts' and/or 'prepare'.
      These pull in several dependencies some of which need a target compiler
      (specifically devicetable-offsets.h) and aren't needed to build dtbs.
      All that is really needed is dtc, so adjust the dependencies to only be
      dtc.
      
      This change enables support 'dtbs_install' on some arches which were
      missing the target.
      Acked-by: default avatarWill Deacon <will.deacon@arm.com>
      Acked-by: default avatarPaul Burton <paul.burton@mips.com>
      Acked-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
      Acked-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Michal Marek <michal.lkml@markovi.net>
      Cc: Vineet Gupta <vgupta@synopsys.com>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: James Hogan <jhogan@kernel.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Chris Zankel <chris@zankel.net>
      Cc: Max Filippov <jcmvbkbc@gmail.com>
      Cc: linux-kbuild@vger.kernel.org
      Cc: linux-snps-arc@lists.infradead.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: uclinux-h8-devel@lists.sourceforge.jp
      Cc: linux-mips@linux-mips.org
      Cc: nios2-dev@lists.rocketboards.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: linux-xtensa@linux-xtensa.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      37c8a5fa
    • Rob Herring's avatar
      c6x: use common built-in dtb support · be7cd2df
      Rob Herring authored
      Using the common build support for built-in dtb files just requires
      adding a .dtb.o target to obj-y.
      
      The dtb now needs to be copied when unflattened because an init section
      is used now.
      
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
      Cc: linux-c6x-dev@linux-c6x.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      be7cd2df
    • Rob Herring's avatar
      nios2: fix building all dtbs · a91c6145
      Rob Herring authored
      nios2 has a 'dtbs' target, but nothing is added to 'dtb-*' targets and
      no dtbs were getting built. This enables building all the dts files in
      arch/nios2/boot/dts/ when COMPILE_TEST and OF_ALL_DTBS are enabled.
      
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: nios2-dev@lists.rocketboards.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      a91c6145
    • Rob Herring's avatar
      nios2: use common rules to build built-in dtb · 1b4f9e2b
      Rob Herring authored
      Using the common build support for built-in dtb files just requires
      adding a .dtb.o target to obj-y.
      
      This has the side effect that CONFIG_NIOS2_DTB_SOURCE should now be just
      the dts filename in arch/nios2/boot/dts/ directory. Before any path was
      supported, but if you want to build in your dtb to the kernel, it should
      be in the kernel tree.
      
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: nios2-dev@lists.rocketboards.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      1b4f9e2b
    • Rob Herring's avatar
      nios2: build .dtb files in dts directory · 11886486
      Rob Herring authored
      Align nios2 with other architectures which build the dtb files in the
      same directory as the dts files. This is also in line with most other
      build targets which are located in the same directory as the source.
      This move will help enable the 'dtbs' target which builds all the dtbs
      regardless of kernel config.
      
      This transition could break some scripts if they expect dtb files in
      the old location.
      
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: nios2-dev@lists.rocketboards.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      11886486
    • Rob Herring's avatar
      powerpc: build .dtb files in dts directory · 1acf1cf8
      Rob Herring authored
      Align powerpc with other architectures which build the dtb files in the
      same directory as the dts files. This is also in line with most other
      build targets which are located in the same directory as the source.
      This move will help enable the 'dtbs' target which builds all the dtbs
      regardless of kernel config.
      
      This transition could break some scripts if they expect dtb files in the
      old location.
      
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      1acf1cf8
  5. 28 Sep, 2018 23 commits