From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 25 Mar 2021 20:18:21 -0700 Subject: [PATCH v2 3/6] Makefile: Depend only on required of-platdata files In-Reply-To: <20210324174053.4180445-4-sjg@chromium.org> References: <20210324174053.4180445-4-sjg@chromium.org> <20210324174053.4180445-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de When OF_PLATDATA_INST is enabled, we need dt-uclass.c and dt-device.c for the build to work. When OF_PLATDATA_INST is not enabled, we only need dt-plat.c Update the Makefile rules to indicate this. At present all files are generated and compiled regardless of which are actually needed. Signed-off-by: Simon Glass --- (no changes since v1) scripts/Makefile.spl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Applied to u-boot-dm/next, thanks!