From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Bastian Krause Date: Wed, 7 Apr 2021 18:01:14 +0200 Message-Id: <20210407160114.29806-1-bst@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] dtc: add package to EXTRA_PACKAGES on !PTXCONF_DTC_INSTALL_OFTREE List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Bastian Krause If the oftree is not installed into the root filesystem, we don't need to add it to PACKAGES. Add it to EXTRA_PACKAGES in this case instead. This is useful for oftrees in FIT images (KERNEL_FIT). It allows adding custom image dependencies for the dtc package for rather special use cases. Signed-off-by: Bastian Krause --- rules/dtc.make | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rules/dtc.make b/rules/dtc.make index 49fd4526a..8c0455af9 100644 --- a/rules/dtc.make +++ b/rules/dtc.make @@ -11,7 +11,11 @@ # # We provide this package # +ifdef PTXCONF_DTC_INSTALL_OFTREE PACKAGES-$(PTXCONF_DTC) += dtc +else +EXTRA_PACKAGES-$(PTXCONF_DTC) += dtc +endif DTC_VERSION := 1.0.0 DTC_LICENSE := ignore -- 2.29.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de