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 <[email protected]> --- 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 [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
