Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 381A5C4332F for ; Wed, 21 Dec 2022 14:07:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D5CC785406; Wed, 21 Dec 2022 15:06:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.b="Zosy5LnX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8B6CA80824; Wed, 21 Dec 2022 08:55:35 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2073.outbound.protection.outlook.com [40.107.243.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E434380824 for ; Wed, 21 Dec 2022 08:55:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=neal.frager@amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dhQeJra46fDI8/GtG6vsj/diRHgiFAD7UFSNFHShE1FffoQR6GgEdXJZ+NrlW5/kjY75LNvOe/FjOYC0LZnF2KZwit/CwQviHVoOFfCTGGqyWkBVoAYX8Ikhk8SDcDxNrCQKHerxI08MXftfii3md8ZoDb8cex7PZEN6rcE7p4v7KylBG+gVq6xtDolj2kzp/NAgvsVJF/zQfzeZd00/BSEXd6eyzkq3kQB0MR3JfU8MnH/hi0shXyh8NBWUyL+FQjyzqSc+22qczaRZK9j8bmj0xnelKS5r90oND/M2WWXS4e63LztT+h41MtnZ4DmnlrP8R5IGWxiRpl78L4rUwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=C8ehVGFv84E372SezbFdqIhUFpmL4UkmicTYYlwrxQ8=; b=LU434qNKHN/xY9aiKqczMPeAHOKjNZvLamuqAR36cTwIJkc2ukkHtmsY7NKrOFRnRUNT/fmTxcru31DaMTYF/xTWZMnNrddUyppYMiCVka1y/jOYefYRTu6y7tP5yRHHbFlxSQND1kcWXAQmcPBMNAgITN9usYHSwITATgACk+FvnYZNIKNQBWIzo1wZWGF9xu+YPKa+rh+hXjyTFYJx7ijymrR2Y9qCxxgtsNQXgf0FWxgqfzoVttOpeUcMJzzJBuuwek0wIwVrr4CQi+6teCCt+4sQhrFuSVxIPHZVLEMgStKY2ZwKvOPwyEc5FjrEOSi2C1ReDfKScq4AQdj2NA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=C8ehVGFv84E372SezbFdqIhUFpmL4UkmicTYYlwrxQ8=; b=Zosy5LnXv567kk82hiorsSHqNVN3YG/smSNh1uG/orZIfyoTJiIW+qoheLl3cNILS0rKtwho9GHCMaZ/JcNY7sonBZm2KkVLlLC6VDhZ71Ja46JpsXgxJQo4cvJX1awEh9GRVajMtVG9xAE2KbkA141Z3UBRqeI4ctuie2TWBuE= Received: from DM6PR08CA0052.namprd08.prod.outlook.com (2603:10b6:5:1e0::26) by DM6PR12MB4057.namprd12.prod.outlook.com (2603:10b6:5:213::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Wed, 21 Dec 2022 07:55:29 +0000 Received: from DS1PEPF0000E650.namprd02.prod.outlook.com (2603:10b6:5:1e0:cafe::24) by DM6PR08CA0052.outlook.office365.com (2603:10b6:5:1e0::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.21 via Frontend Transport; Wed, 21 Dec 2022 07:55:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E650.mail.protection.outlook.com (10.167.18.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5944.8 via Frontend Transport; Wed, 21 Dec 2022 07:55:29 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Wed, 21 Dec 2022 01:55:19 -0600 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Wed, 21 Dec 2022 01:54:49 -0600 Received: from xirengwts08.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Wed, 21 Dec 2022 01:54:48 -0600 From: Neal Frager To: CC: , , Neal Frager Subject: [PATCH v1 1/1] makefile: add multi_dtb_fit dep Date: Wed, 21 Dec 2022 07:54:46 +0000 Message-ID: <20221221075446.47141-1-neal.frager@amd.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E650:EE_|DM6PR12MB4057:EE_ X-MS-Office365-Filtering-Correlation-Id: e08df6a7-70d4-41d3-03ab-08dae328ba81 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jT7603ycDexwYEiWPJpLrKjoVGIThNEKrM7Lo6dCdKYmZ5jTj1I7v1doGPFmkqXSq5ZohA8qZMa0MhP2oLC52X36b68Oc2acCMvPjG2Tl+zxvimUeo/MNd5kdNKBD4sAQctGo7e9h0QFJQzvkAssvEwt0DWZS/jcJwoxewVy6VUoW8SvxI+fwBpXa7f1wMbAKipwoY1DEJ8aSfSI1TzjBsjswO21x2h4vX7cYks8LVCVietJtj16C2szmmDAVfIEgmvqlOwftZ3LGcBDvtlZ4YPOO3y0wOkSZ2rV2fuxWu5YUPdqQodzAoiCUsexehZ026+SGg1SVHRC+ttUrbuNPlS8MeJaJYrIeokbUQnRMo7GhmdhaV0IFhBDK4R9ih0QKLOMKwJ7ZZ3NPIF8dOqu4OpH+RgG76mnfGCnHYJYsGZ3iESAOHP5Lxws+YEH+f92gRqg/u0ZVksEkJyocO/gmY4wKg3IHhS3EyRwSH24wxt6q/9zdfOiqSRKq/2/fuLDaKNf605AqoXkJVu7fsy95hIWN7T2MBn6P5SN93x6cguzmk0eqbSioKA7xSEs5XzIpztD/kQoE5RG3FoHdFZSOc70T8aIox/J+hO96jh+ir3ogsBHGq4Grw6CYOLnBcDV1V77y71Q8inf1x/5rMLP5POIZ35O71DpwRGKQ7Gr/EbPO1OL7XTgrX0Kw6Undj/ZmqBXSrZfvUUWQ1zvoZ3sQ6UYb8fW/shEsLhwSzkc7IY= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(346002)(376002)(136003)(396003)(451199015)(36840700001)(40470700004)(46966006)(186003)(478600001)(86362001)(40480700001)(2616005)(70206006)(6916009)(316002)(26005)(70586007)(54906003)(2906002)(336012)(36756003)(83380400001)(41300700001)(82310400005)(8676002)(1076003)(4326008)(44832011)(81166007)(356005)(40460700003)(82740400003)(4744005)(36860700001)(426003)(8936002)(47076005)(5660300002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2022 07:55:29.2779 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e08df6a7-70d4-41d3-03ab-08dae328ba81 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E650.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4057 X-Mailman-Approved-At: Wed, 21 Dec 2022 15:06:58 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean With certain gcc compilers, the u-boot.itb is built immediately after dtb generation. If CONFIG_MULTI_DTB_FIT is used, it is possible that the fit-dtb.blob is not finished in time. This patch adds a necessary dependency to guarantee that the fit-dtb.blob is built before attempting to build the u-boot.itb. Signed-off-by: Neal Frager --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index b96e2ffa15..682a5d94fd 100644 --- a/Makefile +++ b/Makefile @@ -1425,6 +1425,7 @@ MKIMAGEFLAGS_u-boot.itb += -B 0x8 ifdef U_BOOT_ITS u-boot.itb: u-boot-nodtb.bin \ $(if $(CONFIG_OF_SEPARATE)$(CONFIG_OF_EMBED)$(CONFIG_SANDBOX),dts/dt.dtb) \ + $(if $(CONFIG_MULTI_DTB_FIT),$(FINAL_DTB_CONTAINER)) \ $(U_BOOT_ITS) FORCE $(call if_changed,mkfitimage) $(BOARD_SIZE_CHECK) -- 2.17.1