From patchwork Thu Mar 25 04:41:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 408761 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp204923jai; Wed, 24 Mar 2021 21:42:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0mC9jCQ9D9wX/ESoP9Y81c2xlyksKjYXXLWsiGWZ9cOzFMl4yJRNgpiIg7J+1hVqhNOBK X-Received: by 2002:a17:907:98f5:: with SMTP id ke21mr7310739ejc.552.1616647362560; Wed, 24 Mar 2021 21:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616647362; cv=none; d=google.com; s=arc-20160816; b=tJCHNOTjFgvEHBNczl7HcW7q61FK3O51w+Hi8hJGzb4VoPEb/NttwJ1QDN4q84HFQK mtAmk8ocDvdKsGqwfxFWMk5UHxia9QuljVJxzPRwIDWLVA736xoDzOVD/FuoNaTI5GrS XRbfwt17VIhKTg4VYITY5v7qNvH5niduhUEIY9yn1QnKLx3SBh0seW4ipWJWfGc2lFav vGjte2R7fl+inDl7yv0lEzU6Jz0lhLjLFibVKt9Pg2vrTXDj5/f2gfvj42rdevEDyIZt 5S7oUHbdTmlfdzod3u8iMQnfhDHL6o2W2s9esylCGadtc95wAlag2+jGQx5MGIxvwxFj j0dA== 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=H2R3fexjGFgq4hLfyYUDbxTXGQpPL06sr0+ke6blRwzyYux72E0xNFslyYGrdYsLPZ bqG/2LDap6i2w1Fq2PIyLikdEvxkp5zk2YZMoz0KUUuWvUNdzmHnMAhetz6WpjIfxTMK EqcHVbWWyV3uBf4Kha9Dn5nawpZGjuPl3cSEW200oHjoMotq+CGJYsuIK7WOlithjcpb zEshoR0s85EnTmEzJn+GzllX2ZRGE3TuZQMhpgQqO34OnB63exqBPaakxHoSaYPuV7Xe 5YqhEmpkSh8klX9FNfH1+h2jVSQParcdeUgaacdVSuHfzTTg1FSeT2LoUyww2WKmoeqU /eAg== 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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 nd10si3290314ejc.600.2021.03.24.21.42.41; Wed, 24 Mar 2021 21:42:42 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S229670AbhCYEmG (ORCPT + 6 others); Thu, 25 Mar 2021 00:42:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbhCYElr (ORCPT ); Thu, 25 Mar 2021 00:41:47 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C61CC06174A for ; Wed, 24 Mar 2021 21:41:47 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id v3so586794pgq.2 for ; Wed, 24 Mar 2021 21:41:46 -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=NQYMdsINw4H5u/E8Oxp7vfwOCM1k7+haGxDlKHDAqdLARPuN4HA1fa4v7KK6EJC28Y 3+HIXmbY8fpPXgPQBBKXN7gxYa8A6rxo9//E2BrbuZ4iB5PRWMOQhoqywzbDVsZW4lvp qBk9+fjqDNrfzqtX+o2arZD6pBivKEXn4y72q8UfInZXAwTyM4fQLmqiCxJJkCeBfIgV 0dVYuMtQzKqS//bY3QD3VpuJH0jnV/Uk9nk4GJrXntJOob+FRCM6rFxubV+ddJE1ykAg vHEKDcWfSHGhMDbiaFqH6VkwNSXBUjoX3xgKDoGjOdgdT3jyKkUnugVP3Pe94oecTAMv ALZw== X-Gm-Message-State: AOAM533IU+lYsxQENLKzsinJ+UnZQJIcaWXxg3m3KbO3GonBZhmJmgv5 4j77m8hgmn8J1EmT060U92PXLQ== 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@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(+) -- 2.25.0.rc1.19.g042ed3e048af 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