Received: from mailapp01.imgtec.com ([195.59.15.196]:40705 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S23993929AbdFBSVdrr1qo (ORCPT ); Fri, 2 Jun 2017 20:21:33 +0200 From: Paul Burton Subject: [PATCH v4 3/4] MIPS: DTS: img: Don't attempt to build-in all .dtb files Date: Fri, 2 Jun 2017 11:20:02 -0700 Message-ID: <20170602182003.16269-4-paul.burton@imgtec.com> In-Reply-To: <20170602182003.16269-1-paul.burton@imgtec.com> References: <20170602182003.16269-1-paul.burton@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: linux-mips@linux-mips.org Cc: Ralf Baechle , Paul Burton , Rahul Bedarkar Message-ID: <20170602182002.5JpeFtfjU8q0paxj3pTzBPmXskaa1_iLKF3c8E0qx6E@z> When building a FIT image we may want the kernel to build multiple .dtb files, but we don't want to build them all into the kernel binary as object files since they'll instead be included in the FIT image. Commit daa10170da27 ("MIPS: DTS: img: add device tree for Marduk board") however created arch/mips/boot/dts/img/Makefile with a line that builds any enabled .dtb files into the kernel. Remove this & build the pistachio object specifically, in preparation for adding .dtb targets which we don't want to build into the kernel. Signed-off-by: Paul Burton Cc: Rahul Bedarkar Cc: Ralf Baechle Cc: linux-mips@linux-mips.org --- Changes in v4: - New patch. Changes in v3: None Changes in v2: None arch/mips/boot/dts/img/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/mips/boot/dts/img/Makefile b/arch/mips/boot/dts/img/Makefile index 69a65f0f82d2..c178cf56f5b8 100644 --- a/arch/mips/boot/dts/img/Makefile +++ b/arch/mips/boot/dts/img/Makefile @@ -1,6 +1,5 @@ dtb-$(CONFIG_MACH_PISTACHIO) += pistachio_marduk.dtb - -obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) +obj-$(CONFIG_MACH_PISTACHIO) += pistachio_marduk.dtb.o # Force kbuild to make empty built-in.o if necessary obj- += dummy.o -- 2.13.0