From patchwork Sun Jun 3 05:23:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 137599 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp59309lji; Sat, 2 Jun 2018 22:24:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKBJirzFxNiT8xso24yz1tQ6Q6rf+mPq4NbKpCo061/xd7HUcAwWWgFjf9buRKI5sSht8dA X-Received: by 2002:a50:8b26:: with SMTP id l35-v6mr18788034edl.224.1528003456298; Sat, 02 Jun 2018 22:24:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528003456; cv=none; d=google.com; s=arc-20160816; b=l4MPJiKPUB3eNSk0QWQqVyAps1QlsjnhNE2FVXDZl2c42ACBMDxgK+hcoamSNKKEuM RUKcxEl7E2pcz014Mb0jDZrKAkH6XoUsQpmTiFO7gf6wwZvgu05zJ4LZ0U6YIeacd5uY turSlGZ2oCd21YHoqUJ7PdzcXg0sV9mhd+2pe7Ud4rnryPqPVCe2zCT+dfKAm8jN+DG8 FAdSCb3orm694E/ohBGUzH5qL+hAGcSYPawZY7af/9hEQrQ2ACemrSaPc7OcPdiNLj9K PLcfCpjO0LcqrCDhHe3wFddunDqaXcPVpVyGO9IB08hBaD9n0NSSZg4Tzl6rjV1PHhQn AT9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:arc-authentication-results; bh=iwt6p3n8tMSiS/6DFInNYFLEKKpuMyajZNr4xoL/GDw=; b=o1PTCLKFBzRrgPlDQukvg9S/PqRvqAN/KDhjGNKgLEwG1yTe63S/pEWRNjlyV2nToU GoLxVneU1Gf38gJPpsqaGlAzal/dxfUo/x6rPLDqbggODrxGsjH7sd9bz121673YrS+c BLiWndW2nQWS6seX7E/PZm5g6/ZnM3hwRxGxp/1WZpF7sRhNLEpDFkK3+Ou2AF6rMlQW arvcBbS5LiTq7Erm6uNtekFvLD3/6pj38mx8Hb6g1Iy63hfIias71JVxibWw2STbfPMY 4SMkKTA2n1PE0XWX4CCJwiJATP3ee1uQ2vLD/Msf/M7t53z3WRpD4JbyO7CZgP8yhMO0 mPzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id m32-v6si2751799ede.182.2018.06.02.22.24.15; Sat, 02 Jun 2018 22:24:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 3C84EC21C2F; Sun, 3 Jun 2018 05:24:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C6387C21C2F; Sun, 3 Jun 2018 05:24:09 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 87ACEC21C2F; Sun, 3 Jun 2018 05:24:08 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 3CEEBC21C29 for ; Sun, 3 Jun 2018 05:24:08 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D0BB2ACA3 for ; Sun, 3 Jun 2018 05:24:07 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: u-boot@lists.denx.de Date: Sun, 3 Jun 2018 07:23:58 +0200 Message-Id: <20180603052358.10277-1-afaerber@suse.de> X-Mailer: git-send-email 2.16.3 MIME-Version: 1.0 Cc: yousaf.kaukab@suse.com, =?utf-8?q?Andreas_F=C3=A4rber?= Subject: [U-Boot] [PATCH] rockchip: make_fit_atf.py depends on u-boot X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" u-boot.itb depends on u-boot-nodtb.bin, which in turn depends on u-boot. u-boot.its from Rockchip make_fit_atf.py (used by {evb,firefly}-rk3399) wants to read u-boot but is lacking this dependency, so that u-boot.itb cannot be built in one go. Detect its use and add the missing dependency. Reported-by: Yousaf Kaukab Signed-off-by: Andreas Färber --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f31ee60e4c..3723346c4f 100644 --- a/Makefile +++ b/Makefile @@ -1051,7 +1051,10 @@ U_BOOT_ITS = $(subst ",,$(CONFIG_SPL_FIT_SOURCE)) else ifneq ($(CONFIG_SPL_FIT_GENERATOR),"") U_BOOT_ITS := u-boot.its -$(U_BOOT_ITS): FORCE +ifeq ($(CONFIG_SPL_FIT_GENERATOR),"arch/arm/mach-rockchip/make_fit_atf.py") +U_BOOT_ITS_DEPS += u-boot +endif +$(U_BOOT_ITS): $(U_BOOT_ITS_DEPS) FORCE $(srctree)/$(CONFIG_SPL_FIT_GENERATOR) \ $(patsubst %,arch/$(ARCH)/dts/%.dtb,$(subst ",,$(CONFIG_OF_LIST))) > $@ endif