Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp78564pxf; Wed, 24 Mar 2021 21:43:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjaaMr8jj9SDSd6kv0p/aVfvVE+Rezuuss+L7yy/304dFJgblO1lsCMv6/P7qykPiqzkUS X-Received: by 2002:a17:906:24c7:: with SMTP id f7mr7126309ejb.473.1616647408745; Wed, 24 Mar 2021 21:43:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616647408; cv=none; d=google.com; s=arc-20160816; b=NOt7YsM+12aWc2AacZWGf8s3Yr+lt3irbAyuikeEFeofkgFta5hM1I5CEljs28flcM zVJrlCh4SdvoEer/MNE0N7AVKz4yoKR/adX22HedhnbU2ToajicpIjf6GAdj3etuhWWB riDwtKXngX6ACU2NVV1MW3ZMBb4FZhufrNvmpl14Xz31fn99O/4Yd3jRgQ9jn9jnk6+e eKdsUKICASbXSHLPOEpHWhKg6v2pz1j7BGw2tk+ju2R0Fx+Zm0pY/s+aXB5hF7BbvjnN 2XNe7PVnO9R7hlJyL0KWV82Li2h9h/tOi/YFCgKBCwYCfP2uYCNsgQLClW6yAMphNw8N t1ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5uloYZ+8PoxiaTnT5ukVkjxfChFSHEatXuJ9cHkJu9M=; b=eIer5bm8WeRZW8CYRudInynHgR1QxE9SuDKMgWnzTcwVlEs1fsSNNZhZK2NhN9taqM FF+/HYAX+ALYm/zOlKYp9W1irNAiLVSKX3IYZnjM+hRIBGgrxU92lFK6ACsISO0nNHvV ORqKH0XMr5gdD1xcTVxhG/7JnldRXlJsBA7wfefoZnJ6JaiHTAnrTtpen71Nd839h+7R JRq16ZICfuoVSb+HH4RySo6r83AEO3de8DOESrbrbcuMvBfvW0chTXHfC75AUbm6d06F cMT64m/ra7C40Z4CtZNYtDxvnffXFmYhnHlrXc0xGn3E22Bfs0bYwBSz5AN25Fcp7MBx 3GRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hiXjI1my; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si3180077edm.126.2021.03.24.21.43.06; Wed, 24 Mar 2021 21:43:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hiXjI1my; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229493AbhCYEmH (ORCPT + 99 others); Thu, 25 Mar 2021 00:42:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbhCYElr (ORCPT ); Thu, 25 Mar 2021 00:41:47 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13C4EC06175F for ; Wed, 24 Mar 2021 21:41:47 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id 11so739477pfn.9 for ; Wed, 24 Mar 2021 21:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5uloYZ+8PoxiaTnT5ukVkjxfChFSHEatXuJ9cHkJu9M=; b=hiXjI1myZwfoNGPp8+hjoNraAb1rNgkpcycqeWl6te88OdvHNMzTyy2EXiOWpYLwqa tUcRJy5ZN8PVSzhTb65he/NhsLMlJ79gStqExtVfHNxh7aQjOv8KQIDBEgwVnbt5udd6 TZye8a8LrUbvmg6Ibe9OB8HoNwZSPoDq2I+ckdjbgsn5tpchFEzeG4H7ISepWWx1MWNt jPhGOSazVVFfSDPJuCdn7Cee8nO/bKvtf5fVNTg5iUevomqJdUrqg51maIUQVbWp3ERt nOAD5S38C3rTPevGOeR3kJMlfPJrZ8Rtk4LjW5g6VsqRPgaAKJXRCUC2WMMJ7fM8HrAi urpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5uloYZ+8PoxiaTnT5ukVkjxfChFSHEatXuJ9cHkJu9M=; b=ANDdZcXbnV7KH3YjUv9snDcW594tZolClWarINwkWkXrsXa7bYto6nTABi5hGQh6qO 1e8TU/AE3UxLLffgMMoTv8XXCxQrzOghWQ45GUMRFQm+btL5YS1K+Sc+Tcc79Dcdq1Of sZZ2QLHAdUP4Gk4peQH1FGvPl9VNotgse3zEjDgULaDpNWaLjRgtNvH/1SHd9lMT1ZO4 NAKfpb7TNjicAtsBH38D1AIbR9PnCVVAfoVvBft/zX8uR89BpweqYTr4oTwQJjY8lSBt 7Wcuy974pWEmKkUg4YmD/d1WooTNG0gihItywpRL0mis00Aq1ZjZEzFvirnpIOh0cbzs Ec7Q== X-Gm-Message-State: AOAM533QpJ9zE+D34ADxfQv8UtV8YEGDFviyqOxWKvsv9a3zddYzqjCW lchD5f04geqsZtJJAJcJuu5AjQ== X-Received: by 2002:a65:62d9:: with SMTP id m25mr6013481pgv.6.1616647306354; Wed, 24 Mar 2021 21:41:46 -0700 (PDT) Received: from localhost ([122.172.6.13]) by smtp.gmail.com with ESMTPSA id fa21sm3997449pjb.25.2021.03.24.21.41.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Mar 2021 21:41:45 -0700 (PDT) From: Viresh Kumar To: Rob Herring , Masahiro Yamada , Michal Marek Cc: Viresh Kumar , Vincent Guittot , Frank Rowand , Michal Simek , Bill Mills , devicetree@vger.kernel.org, Geert Uytterhoeven , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V4] kbuild: Add rule to build .dt.yaml files for overlays Date: Thu, 25 Mar 2021 10:11:37 +0530 Message-Id: <4f50cfd94a43a03e107f83fadd02cd6be7b422e3.1616647039.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.25.0.rc1.19.g042ed3e048af In-Reply-To: <20210324223713.1334666-1-frowand.list@gmail.com> References: <20210324223713.1334666-1-frowand.list@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The overlay source files are named with .dtso extension now, add a new rule to generate .dt.yaml for them. Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven Signed-off-by: Viresh Kumar --- V4: - Rebase over Frank's cleanup patch: https://lore.kernel.org/lkml/20210324223713.1334666-1-frowand.list@gmail.com/ - Drop changes to drivers/of/unittest-data/Makefile. - Drop modifications to the rule that builds .dtbo files (as it is already updated by Frank). scripts/Makefile.lib | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 814b430b407e..a682869d8f4b 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -376,6 +376,9 @@ endef $(obj)/%.dt.yaml: $(src)/%.dts $(DTC) $(DT_TMP_SCHEMA) FORCE $(call if_changed_rule,dtc,yaml) +$(obj)/%.dt.yaml: $(src)/%.dtso $(DTC) $(DT_TMP_SCHEMA) FORCE + $(call if_changed_rule,dtc,yaml) + dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) # Bzip2 -- 2.25.0.rc1.19.g042ed3e048af