lkml.org 
[lkml]   [2020]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] MIPS: DTS: Only build subdir of current platform
On Thu, May 21, 2020 at 10:15:06AM +0800, Tiezhu Yang wrote:
> Add config check in Makefile to only build the subdir of current platform.
>
> E.g. without this patch:
>
> AR arch/mips/built-in.a
> AR arch/mips/boot/dts/brcm/built-in.a
> AR arch/mips/boot/dts/cavium-octeon/built-in.a
> AR arch/mips/boot/dts/img/built-in.a
> AR arch/mips/boot/dts/ingenic/built-in.a
> AR arch/mips/boot/dts/lantiq/built-in.a
> DTC arch/mips/boot/dts/loongson/loongson3_4core_rs780e.dtb
> DTB arch/mips/boot/dts/loongson/loongson3_4core_rs780e.dtb.S
> AS arch/mips/boot/dts/loongson/loongson3_4core_rs780e.dtb.o
> DTC arch/mips/boot/dts/loongson/loongson3_8core_rs780e.dtb
> DTB arch/mips/boot/dts/loongson/loongson3_8core_rs780e.dtb.S
> AS arch/mips/boot/dts/loongson/loongson3_8core_rs780e.dtb.o
> AR arch/mips/boot/dts/loongson/built-in.a
> AR arch/mips/boot/dts/mscc/built-in.a
> AR arch/mips/boot/dts/mti/built-in.a
> AR arch/mips/boot/dts/netlogic/built-in.a
> AR arch/mips/boot/dts/ni/built-in.a
> AR arch/mips/boot/dts/pic32/built-in.a
> AR arch/mips/boot/dts/qca/built-in.a
> AR arch/mips/boot/dts/ralink/built-in.a
> AR arch/mips/boot/dts/xilfpga/built-in.a
> AR arch/mips/boot/dts/built-in.a
>
> With this patch:
>
> AR arch/mips/built-in.a
> DTC arch/mips/boot/dts/loongson/loongson3_4core_rs780e.dtb
> DTB arch/mips/boot/dts/loongson/loongson3_4core_rs780e.dtb.S
> AS arch/mips/boot/dts/loongson/loongson3_4core_rs780e.dtb.o
> DTC arch/mips/boot/dts/loongson/loongson3_8core_rs780e.dtb
> DTB arch/mips/boot/dts/loongson/loongson3_8core_rs780e.dtb.S
> AS arch/mips/boot/dts/loongson/loongson3_8core_rs780e.dtb.o
> AR arch/mips/boot/dts/loongson/built-in.a
> AR arch/mips/boot/dts/built-in.a
>
> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
> ---
> arch/mips/boot/dts/Makefile | 28 ++++++++++++++--------------
> 1 file changed, 14 insertions(+), 14 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]

\
 
 \ /
  Last update: 2020-05-24 11:29    [W:0.077 / U:14.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site