From patchwork Thu May 4 12:26:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 1776905 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=prevas.dk header.i=@prevas.dk header.a=rsa-sha256 header.s=selector1 header.b=YFdtfaGg; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QBtNl26hVz213v for ; Thu, 4 May 2023 22:27:03 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D03AB854CF; Thu, 4 May 2023 14:26:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=prevas.dk 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=prevas.dk header.i=@prevas.dk header.b="YFdtfaGg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF3EC855D9; Thu, 4 May 2023 14:26:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,SPF_HELO_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.2 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0727.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::727]) (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 A392984F47 for ; Thu, 4 May 2023 14:26:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=prevas.dk Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rasmus.villemoes@prevas.dk ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jFI0BthAOHceW/0EA3cz0rCQrpgz9DOp22YO47xN69wEysExm6T6On+2P1J8ieF2Pf8ox0X09oHYoTTL+ohX8arNBwnGyVQK1DOZVUqMQamF+sn1tmJQt2mGaU4dNd3uHG5Z18eqdUVDMSHB0lfesnRzp31fbfbnB5XcALKdwKh7lw5vRmbe0HoQEl3xFgFjH5X3R5t3Mt0mgMd9D5di7mdnUk+crHI1iy7MLivFnwu52d4TFEeImOmIxU6ATLSp0JwauCidf2y+jQX9v5uzSOutAXbJPlnf9hoegejOqEyxYfGIRia+suqv7ODDVinBJPjoEusHZe3jQMqGA9R3hg== 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=JEYxepdd/TchCbyH1bI/CKGbvMHP1RbCgi8CuVu97NM=; b=YVbxQ4N/VNlHz8P3UBkwg6IMObsHIjW8le6Cni06hA7S9al/o0xEYs8BYDvSqUH34TJE+VBoYSkBCkS5lmBlHYis8uwld3OX4CrfUNsF2lPdmxX+UGlymRQACbj8ANupCc5mCOlqvEEHCh1oLreS4mQ46h/6NTMO980aHNigLWvb/mIACq7HBhwQ8moJOaVl8z9S56BQ5hAYSRHnvTKdI43eY8Sy1GQ9+QFEN+AJTRXar1KipqKKf2yiKaxpSrZBpHm4DD/Vh5LmBHwi4wEy9N+6oZTmxNd7TDoCbGt2Z6AWTSHXILE6pTghxt/bHjbyTEd+G4vdNMngFJJvmNqbDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=prevas.dk; dmarc=pass action=none header.from=prevas.dk; dkim=pass header.d=prevas.dk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prevas.dk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JEYxepdd/TchCbyH1bI/CKGbvMHP1RbCgi8CuVu97NM=; b=YFdtfaGgJNu7UXnIpkZWzsgErI8gEo8cpEKn/XTsnkrMcffwb7V1JDHekDini+9GW2W8yJAJhJuZDLwG5Tq0i3rN3M4rIlx7LimsdusOBhqnEvZG8of1TMVKlV6DycurnZ6jyge70obN5l6/PBhDxv2J7AHgqQSsNuB4axIC2vY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=prevas.dk; Received: from DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:45a::14) by PAXPR10MB5357.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:28b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.21; Thu, 4 May 2023 12:26:52 +0000 Received: from DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM ([fe80::18c1:25d1:3fb0:1439]) by DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM ([fe80::18c1:25d1:3fb0:1439%5]) with mapi id 15.20.6340.031; Thu, 4 May 2023 12:26:52 +0000 From: Rasmus Villemoes To: u-boot@lists.denx.de Cc: Tom Rini , Simon Glass , Rasmus Villemoes Subject: [PATCH 1/2] kbuild: add dtc as dependency on .dtb files Date: Thu, 4 May 2023 14:26:43 +0200 Message-Id: <20230504122644.958613-1-rasmus.villemoes@prevas.dk> X-Mailer: git-send-email 2.37.2 X-ClientProxiedBy: AS4PR10CA0017.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5d8::7) To DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:45a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR10MB7100:EE_|PAXPR10MB5357:EE_ X-MS-Office365-Filtering-Correlation-Id: 909a7aad-3987-4184-4a8c-08db4c9ad756 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d2951H0Lc4sdIAjoysx6lqZ8Er09bHW04ohktLPB2yxcJlpzkJP2nIszWt2nygB8YQ6QxODhBkF9TpUkzqr96j2hZJvOqSCs4SgsxjzXJFsAbQAAsgPAnXUV1ox6JhW2htFOjqijuZDNm/g1j3Oqpi3wg2wMCYvB3Mj1u2fCfCx4EAnmqeWUYDdSov2FQ0ccapnzQB44EwWsT7AWqpwW9pCxzRMa4nQ37ca8ow1c+2k/7ZyXRO3p3E5PZ1jZhXASNpg+xvl3I0eaDI8xES581/JwXh8H9D5Q8QGZuhwTes2j4CLUq+3+i8IPoqdM+jXlbmnNIZQgVvANSVMVb5U65MJqae9lYv+eQVh3TKn9hQ/bmMDFwRZO/m8t+zsZs7MHv895sWLRGlrvZV7bwiaVsR5FwQuFcrJonNZPLvu/mi6Lf1/ylsW6p+D4mE6gimVur1B6AaUAZhcPNbBi3SEn6KAVevqynkoPzmDa3tHdR8PT/MY2q4wgTcY9U1fXaQVg1mW+pZJvrt/ii6xsBh0ShHPnqXrcGJDM6EXz2vhIpcTLorPJwHP77S+2OADGUFTX4LOjJpN5MGFHq3LdJn+/aNCSsN5L2gPchoFSKPK08bUOjhR4OKcoQ2D8pPkr4X0dDl1oPyXdXP8OTqlRFdX8Aw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(136003)(346002)(376002)(39850400004)(366004)(451199021)(478600001)(54906003)(26005)(2616005)(1076003)(186003)(6512007)(6506007)(6666004)(52116002)(6486002)(66476007)(6916009)(4326008)(41300700001)(66556008)(66946007)(316002)(107886003)(83380400001)(8936002)(5660300002)(8976002)(8676002)(44832011)(2906002)(38350700002)(38100700002)(36756003)(86362001)(142923001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 06jMhJtcHlOLG2U3MAVpmN3NmWIzgJP6UVhMwVdlq2yYKsnn7aJq/A6p507nU3NhgI1bW8ie1dPfK8ZfpFSaRy48hTjuMv8VhnoxZjPSemrRR/DMsplSkeMeDFd6QiDzDRfk/78b3A9m1P6uiwTG2AG5KZLuTX1Iv3nyj38dznSKKwA5WETQ/BEmKlv3Vp0FtIcz/9BgUnsmBWZUX/7McbqYZJYcmHiBWlpJByrJN2z2YyvPQ/mNIriVZ88NooyX6BldzoDhG6/vARCo6OcOCx+t+qkgMrfnS2N9e+wC72KyDZXeXrC4LdlSK/ZDvylL+GZLrtuunWsoDb9VFNo6a3b5xci+kB3plv66HYb706ys1FxZ1LoymY/OwHIHk94gPF+5OTsqxvZyg0Y6VYwRg4xQFdFytzph77zXqDqw/k3NY7X1YerkgQ1wYVwNeALw8pe8j6mPSIp1zLx4J/EIEce8281S7rLtJEkgksfhEP5iHHb1LjDae/1smfzC1oS/kbsfirOyDz1wM4Jv+x66CgTU59hnw/VAKv7b7CkYeuXSgJ9s7+eJH//aWDn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enant-Network-Message-Id: 909a7aad-3987-4184-4a8c-08db4c9ad756 X-MS-Exchange-CrossTenant-AuthSource: DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2023 12:26:52.6529 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d350cf71-778d-4780-88f5-071a4cb1ed61 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0+Ghs42T9/YeE1BqK8QEBoRR85MkeLdJ2xLRg4BSpxE69Lf3l3RULJcZEQdHinSR2+FPBbXCvz+iUABN9y9+F2lkgK25jaNqotSOwO+BiaE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR10MB5357 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.8 at phobos.denx.de X-Virus-Status: Clean [Linux commit b8fc5b2157b1] If dtc is rebuilt, we should rebuild .dtb files with the new dtc. [Import notes: Back then there was no .dtbo rule in Linux's Makefile.lib, but the current .dtbo rules in Linux also have the $(DTC) dependency, so also add it to our .dtbo rule.] Signed-off-by: Rasmus Villemoes Reviewed-by: Simon Glass --- scripts/Makefile.lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 7b27224b5d..651d700369 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -331,7 +331,7 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ ; \ sed "s:$(pre-tmp):$(<):" $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -$(obj)/%.dtb: $(src)/%.dts FORCE +$(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE $(call if_changed_dep,dtc) pre-tmp = $(subst $(comma),_,$(dot-target).pre.tmp) @@ -351,7 +351,7 @@ cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \ -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -$(obj)/%.dtbo: $(src)/%.dts FORCE +$(obj)/%.dtbo: $(src)/%.dts $(DTC) FORCE $(call if_changed_dep,dtco) # Fonts From patchwork Thu May 4 12:26:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 1776906 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=prevas.dk header.i=@prevas.dk header.a=rsa-sha256 header.s=selector1 header.b=ZzRqujZs; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QBtP23P4Hz213v for ; Thu, 4 May 2023 22:27:18 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0AA1785644; Thu, 4 May 2023 14:27:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=prevas.dk 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=prevas.dk header.i=@prevas.dk header.b="ZzRqujZs"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1BCAE84686; Thu, 4 May 2023 14:26:59 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2097.outbound.protection.outlook.com [40.107.6.97]) (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 E71E684686 for ; Thu, 4 May 2023 14:26:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=prevas.dk Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rasmus.villemoes@prevas.dk ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W8ll70+ytgrPUhZggx3GHBYEUzYUlmuXPix3B877x4o7qIOeZYpfjzXY9DldsZpiSWsiF6cjEqzVb/ICkbJ0uyiz2vXk8KS6Wf7Er/s+mYkvsWdsWTvn5EIQSacJAZ6HyNz09YRGnIeh5lr9/LEWtNjreT/HXPApLMuQWmmBqdYwSankaTcmwXQB1+aFJb/ikln7RIf/I9Deh2U5UyubyDuo1qocw9Leb+ZE34L0YQOVnYjMo7z2S0croT9dH2Erv62ycrGnv1je+SkoCvAAKySu9omnBsEhKOrNbKDsasJeHbcWQDXcs2WFcfrfTg5Hu3s0iftmo4NVhK4yCmGjmw== 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=12dwwQS7zfIPYVNNgVV91lsfPB6z6aRSjtpoNfBf9os=; b=LDhYOZZvXxQM2iBCOLKlpVeDdVKu3GOzr4YRnSC5aTYcWA5jtCxn7uQCSejVKT8J1rNqBQjibViL2wdmZtekyB9lSj9tSxGkmea1t2JwXEXrvZkDYP1IAjI68lNRex/3AnZ0x1F5lJRoarqF1hdUbjCaxGcpi67kQOxeKQB/9DViULluN9iMQ2W85lANufZuTYofQ4X5PWH9Y1xNAvfrMwDJfdIeTrSvOFvF2tyAcFXxDEAs61WWPzA9Rd7HFgqq3aMR//wCyVoAyx86bNT5fBVMh9BiTnucfToLN3Nj7d9yzUW87wbtbK/CJ74NRjHttyUGtvsd90uuJlvwzuRb/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=prevas.dk; dmarc=pass action=none header.from=prevas.dk; dkim=pass header.d=prevas.dk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prevas.dk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=12dwwQS7zfIPYVNNgVV91lsfPB6z6aRSjtpoNfBf9os=; b=ZzRqujZs4vwuj2BnHx2eFZZFuZ4B8nNHtN/mWCdktBa/pyDyWC3CwQoSh/PrL21txDngczRiFoRcQO54kTjRoRfr2huzMeOEm/oPW3mGVUSVmTR/sQu9zYt6h8ck47f/ri8FC78SIdxiINrGXfiLnnEe85xL5KJh/ZJAHPrGsfE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=prevas.dk; Received: from DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:45a::14) by PAXPR10MB5357.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:28b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.21; Thu, 4 May 2023 12:26:53 +0000 Received: from DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM ([fe80::18c1:25d1:3fb0:1439]) by DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM ([fe80::18c1:25d1:3fb0:1439%5]) with mapi id 15.20.6340.031; Thu, 4 May 2023 12:26:53 +0000 From: Rasmus Villemoes To: u-boot@lists.denx.de Cc: Tom Rini , Simon Glass , Rasmus Villemoes Subject: [PATCH 2/2] kbuild: Allow DTB overlays to built from .dtso named source files Date: Thu, 4 May 2023 14:26:44 +0200 Message-Id: <20230504122644.958613-2-rasmus.villemoes@prevas.dk> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230504122644.958613-1-rasmus.villemoes@prevas.dk> References: <20230504122644.958613-1-rasmus.villemoes@prevas.dk> X-ClientProxiedBy: AS4PR10CA0017.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5d8::7) To DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:45a::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR10MB7100:EE_|PAXPR10MB5357:EE_ X-MS-Office365-Filtering-Correlation-Id: c897233e-1888-4e8d-978f-08db4c9ad7c1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IdEu8EbWbog72d5fZE+AHHVMooLNvNgPM6yulhNQrXMXD8tsIQCKNTyh85JmxOxeBn+xrmTDOunIc3hBq+qAvcV27RWFQDAqVcH3ZSPnYpeR6/lGxvNssSG6dsf6Hw7ijVL5p4eFh6eTA1R2Tm01h2ulqNrfOPcYDNIJ4yjoJw0fk9EiMb6nigZ+DISuOEcWCBMCgJq89vL9vfI6zeCHr4MGPMKkFn2bEqiTu7F5puEmgh8Bn00ha1zs+Tmf17hxMs+za8EGH3nbubvNHFiZRs7PRoN8w99NYRWu203PTHsnVNNJwmZ4hNClpOKn7Q4CRLxWXYEg8478V7D5OgPi7/Zb+olybO8zp9yzp3v7O8I48efDboYbqkEqQv1ZVBwyemkYO1I2jtxsqrsnB7kWDhrWIQaXiMQCE+d6B/j6zdMexnlO5AKlWUFtdzU2vDI92fLz7LYdrFhkjf/V7GHFlBninQNp3P7+5XuSryNlrP6mCIa0g8JllJtVf2FE6Tq8gnRNGlgN4edLwDBkZPAC7BMlajXGhinyzxZx3OV13PBaP1PnYJq6IOxO+If54B31LkbU2I8kH+Fm2mAlJUS7TmQSJIgiatoXKFCqHI4zdmQlYZsp1P4cnnBCGqNx7/M9D+rHJ+swmGv+BxfylXfhrQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(136003)(346002)(376002)(39850400004)(366004)(451199021)(478600001)(54906003)(26005)(2616005)(1076003)(186003)(6512007)(6506007)(6666004)(52116002)(6486002)(66476007)(6916009)(4326008)(41300700001)(66556008)(66946007)(316002)(107886003)(8936002)(5660300002)(8976002)(8676002)(44832011)(2906002)(38350700002)(38100700002)(36756003)(86362001)(142923001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2XCAoQ+szfuiQCqmCnF0sTCrWRcMgRSIiXXWHOMuV8zelLBozc2Bahl+lmn4LBZvie0p0w7EXTtcrEWt6lW/H5b4zeNMIuu7B2DAweYrq4TR1enMrURvOPPCaP/9ZrHIrpK034e/USvjcN2VSgfjhR8zQkKYhQnopOwkmnzlBIb+fQU2FiVepxiHqCrShDM5esME+t20Wdbw9bw2Ied1prTrYtZErWdN8hrKmJ2d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1nilUfgmrk7yi1lXJLc4m859Y2oIvix3LmV9G5sy3VEZpwBCysz1iW0SrDQluhjh2HVYH+/JHQMwpeib0XP7v87DIqZMAlKXoUHZQ+NN2+mWfJtb4UzUhrcrAfE5fJBiNFF5KJmW9krbKok74MLp5rPJjdnfYjO0dtUqgMBCm8fVHiQihhx5pUV+O9/VNarQFuwZjXlRcWeQqex9nipuDVzmN0eSxCCepkqHM9jt/Q34gDTCcfzTZ3KfuGBc+xF16/InVVW+neYapzZp80oWs3ByNbcXv5taZZJhDZvy5Yt5jMSiaK+9vDmurA== X-OriginatorOrg: prevas.dk X-MS-Exchange-CrossTenant-Network-Message-Id: c897233e-1888-4e8d-978f-08db4c9ad7c1 X-MS-Exchange-CrossTenant-AuthSource: DB9PR10MB7100.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2023 12:26:53.3298 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d350cf71-778d-4780-88f5-071a4cb1ed61 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XswoZ9A29tLkTbGnneR8T9hMnlpvuMI3PifhW8TeSC+TEYHP5nJRQWmsJkQo94GGGjJNGtqUTjBuDSIf61vfwvANYBUgNrulIvGJVPHEN7I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR10MB5357 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.8 at phobos.denx.de X-Virus-Status: Clean [Linux commit 363547d2191c] Currently DTB Overlays (.dtbo) are build from source files with the same extension (.dts) as the base DTs (.dtb). This may become confusing and even lead to wrong results. For example, a composite DTB (created from a base DTB and a set of overlays) might have the same name as one of the overlays that create it. Different files should be generated from differently named sources. .dtb <-> .dts .dtbo <-> .dtso We do not remove the ability to compile DTBO files from .dts files here, only add a new rule allowing the .dtso file name. The current .dts named overlays can be renamed with time. After all have been renamed we can remove the other rule. [Import notes: Adapt to U-Boot by using the cmd_dtco function instead of cmd_dtc just like the current .dts -> .dtbo rule.] Signed-off-by: Rasmus Villemoes Reviewed-by: Simon Glass --- scripts/Makefile.lib | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 651d700369..7362a392ad 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -354,6 +354,9 @@ cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \ $(obj)/%.dtbo: $(src)/%.dts $(DTC) FORCE $(call if_changed_dep,dtco) +$(obj)/%.dtbo: $(src)/%.dtso $(DTC) FORCE + $(call if_changed_dep,dtco) + # Fonts # ---------------------------------------------------------------------------