mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] dtc: add package to EXTRA_PACKAGES on !PTXCONF_DTC_INSTALL_OFTREE
@ 2021-04-07 16:01 Bastian Krause
  2021-04-14 15:11 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Bastian Krause @ 2021-04-07 16:01 UTC (permalink / raw)
  To: ptxdist; +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 <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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] dtc: add package to EXTRA_PACKAGES on !PTXCONF_DTC_INSTALL_OFTREE
  2021-04-07 16:01 [ptxdist] [PATCH] dtc: add package to EXTRA_PACKAGES on !PTXCONF_DTC_INSTALL_OFTREE Bastian Krause
@ 2021-04-14 15:11 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-04-14 15:11 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Thanks, applied as 11f466dc427625ad0c0aba7daf00fbfb6c722315.

Michael

[sent from post-receive hook]

On Wed, 14 Apr 2021 17:11:34 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> 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>
> Message-Id: <20210407160114.29806-1-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/dtc.make b/rules/dtc.make
> index 49fd4526a7b5..8c0455af9284 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

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-14 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 16:01 [ptxdist] [PATCH] dtc: add package to EXTRA_PACKAGES on !PTXCONF_DTC_INSTALL_OFTREE Bastian Krause
2021-04-14 15:11 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox