From patchwork Wed Dec 15 09:00:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 1568099 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=KHUjJd0S; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JDTk36xnSz9t0k for ; Wed, 15 Dec 2021 20:00:59 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mxQ9e-0003Z8-EL; Wed, 15 Dec 2021 09:00:54 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mxQ9a-0003Ya-GQ for kernel-team@lists.ubuntu.com; Wed, 15 Dec 2021 09:00:50 +0000 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id B81273F1AF for ; Wed, 15 Dec 2021 09:00:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1639558849; bh=mCD7Dg4UVMCtsGkUXzdyENo++cCXcfpSQSijdoL6Pyk=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KHUjJd0SAGfYQUJ3p/dqEsvTbhVnObDMPsP8fkKLrqmdIjIAle4ou/ft011nCjIkH iXbKTljoG09ILYjQT4cDkjyQxbkg0E2DVZJabYM9DmxTckI/BGO0oZ8Ivs/Q/pd9RP xzp214NrFwLJhhxK5/emq6Sn9TeusFRWdm338URwAfX1/u8RcXSk7DwpsmeaEeEBSS scXfkYr8ZvKd7v5bta6TQWqw7uTQLoX/F9rfEya5kqRsjh6dVuD2qwCI02MR0G0DES brPoGvxESxITb8vi7ORnmejXyl14P0qOvyKgo05bb+lcS7mopXOUZpPfbrkTZB6cBp ispRmcxf10h6Q== Received: by mail-ed1-f71.google.com with SMTP id b15-20020aa7c6cf000000b003e7cf0f73daso19475980eds.22 for ; Wed, 15 Dec 2021 01:00:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mCD7Dg4UVMCtsGkUXzdyENo++cCXcfpSQSijdoL6Pyk=; b=h/lwwzBT3d73kRs47DcJ0bAgKVqfNJ2WqoSGfpxQ8e5PfwDr0q9gIkBt2YLXTXh5CC 6m+Vt/aU2g1+0xwqUEDIbH/kJLgld3CytZJha+vMDnuGMCNH2uA0iEtu4zxzti9g7bnE uDhxqzE6qD4FXJ0W405MI4sS4c+SjnQ0R0KdmjThG9ANR0so3m7zyqgrnoH+9qJMwPT/ ujrYMjJevhTB17Jo+TDXt/d1Sbeuqgz99z74fpo8dVkwxWf4yjnYqGlFMLCCKVaoQyQn 7OllQuJLzeVKLD/fl86H2hHoe1hiP2ROPNQ5fczSmCIJFoQdB5OusVJSzM+fM21llZE0 tSEw== X-Gm-Message-State: AOAM533npwAiEV59RCrP2r6V2Ri5hh8eSDzYo1x4inryjYFrt+EXHEwY VGp3cvpfYXHeWja5Ydw8oJZKzPVJxcVz2npwJRbGNvHrZ7mRMU6bKiBD0spLx/y9pK6Zfe5kS3Z 9+hhE3J4S/VAV88aK6YcnM+c8juC2b0n9KjtDX7qomQ== X-Received: by 2002:aa7:c941:: with SMTP id h1mr13653170edt.319.1639558849363; Wed, 15 Dec 2021 01:00:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmWbyrqgr3Atw2WPEsnFKjIhKaz2ejkyXDx1NQ/BB3pVm5WGL8xu3ZCVzU0+IoM9/Il12ZPg== X-Received: by 2002:aa7:c941:: with SMTP id h1mr13653153edt.319.1639558849188; Wed, 15 Dec 2021 01:00:49 -0800 (PST) Received: from gollum.fritz.box ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id hd14sm437466ejc.195.2021.12.15.01.00.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Dec 2021 01:00:48 -0800 (PST) From: Juerg Haefliger X-Google-Original-From: Juerg Haefliger To: kernel-team@lists.ubuntu.com Subject: [SRU][I/raspi][H/raspi][F/raspi][PATCH 1/1] UBUNTU: SAUCE: Install overlays/README Date: Wed, 15 Dec 2021 10:00:47 +0100 Message-Id: <20211215090047.36440-2-juergh@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211215090047.36440-1-juergh@canonical.com> References: <20211215090047.36440-1-juergh@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1954757 The DTB overlay README file is used by the 'dtoverlay' command to display help text for overlays (usage, params and such). Copy it when calling the dtbs_install target. Signed-off-by: Juerg Haefliger --- arch/arm/boot/dts/overlays/Makefile | 4 ++++ scripts/Makefile.dtbinst | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile index fbcc3e35a747..c186f49c5176 100644 --- a/arch/arm/boot/dts/overlays/Makefile +++ b/arch/arm/boot/dts/overlays/Makefile @@ -240,8 +240,12 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ wittypi.dtbo \ wm8960-soundcard.dtbo +# These will simply be copied +misc-$(CONFIG_ARCH_BCM2835) += README + targets += dtbs dtbs_install targets += $(dtbo-y) +targets += $(misc-y) always-y := $(dtbo-y) clean-files := *.dtbo diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst index 84c46c081218..5aed7390a62c 100644 --- a/scripts/Makefile.dtbinst +++ b/scripts/Makefile.dtbinst @@ -19,9 +19,10 @@ include $(src)/Makefile dtbs := $(addprefix $(dst)/, $(dtb-y) $(if $(CONFIG_OF_ALL_DTBS),$(dtb-))) dtbos := $(addprefix $(dst)/, $(dtbo-y) $(if $(CONFIG_OF_ALL_DTBS),$(dtb-))) +miscs := $(addprefix $(dst)/, $(misc-y) $(if $(CONFIG_OF_ALL_DTBS),$(dtb-))) subdirs := $(addprefix $(obj)/, $(subdir-y) $(subdir-m)) -__dtbs_install: $(dtbs) $(dtbos) $(subdirs) +__dtbs_install: $(dtbs) $(dtbos) $(miscs) $(subdirs) @: quiet_cmd_dtb_install = INSTALL $@ @@ -33,6 +34,9 @@ $(dst)/%.dtb: $(obj)/%.dtb $(dst)/%.dtbo: $(obj)/%.dtbo $(call cmd,dtb_install) +$(dst)/%: $(obj)/% + $(call cmd,dtb_install) + PHONY += $(subdirs) $(subdirs): $(Q)$(MAKE) $(dtbinst)=$@ dst=$(patsubst $(obj)/%,$(dst)/%,$@)