mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH] dtc: add package to EXTRA_PACKAGES on !PTXCONF_DTC_INSTALL_OFTREE
Date: Wed,  7 Apr 2021 18:01:14 +0200	[thread overview]
Message-ID: <20210407160114.29806-1-bst@pengutronix.de> (raw)

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 <bst@pengutronix.de>
---
 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

             reply	other threads:[~2021-04-07 16:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 16:01 Bastian Krause [this message]
2021-04-14 15:11 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210407160114.29806-1-bst@pengutronix.de \
    --to=bst@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox