Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ require qcom-multimedia-image.bb

SUMMARY = "An image built on top of multimedia image for proprietary features"

CORE_IMAGE_BASE_INSTALL += " \
iris-video-dlkm \
kgsl-dlkm \
CORE_IMAGE_BASE_INSTALL:append:aarch64 = " \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the whole image doesn't make sense for 32-bit ARM. So it might be better to make it compatible with AArch64 only.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scaling meta-qcom CI is much easier if all images from meta-qcom-distro can be built across all supported machines. Otherwise, we introduce an additional variable into an already complex build matrix.
In that sense, I believe it's more viable to keep the image generic and manage package installation through machine-specific overrides.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hoping we could make the image recipe compatible with aarch64, and that it would just be ignored/skipped nicely, but it does not and it fails with "XXX was skipped: incompatible with machine qcom-armv7a (not in COMPATIBLE_MACHINE)"

with the world build coming up, we will need a proper solution. we need that recipe to build or to be skipped (in which case we update our CI targets).

packagegroup-qcom-proprietary-pkgs \
"

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SUMMARY = "Extended proprietary packages for QCOM platforms"

# Incompatible with all archs except aarch64 (ARMv8)
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE:aarch64 = "(.*)"

PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit packagegroup

RDEPENDS:${PN} = " \
iris-video-dlkm \
kgsl-dlkm \
"
Loading