Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to build all meta-qcom recipes #782

Open
lumag opened this issue Feb 27, 2025 · 3 comments
Open

Add a way to build all meta-qcom recipes #782

lumag opened this issue Feb 27, 2025 · 3 comments

Comments

@lumag
Copy link
Collaborator

lumag commented Feb 27, 2025

          agreed. we could do a bitbake world but that's rather expensive.. @lumag could we parse meta-qcom in such a way that we can create something like qcom-world virtual target?

Originally posted by @ndechesne in #766 (comment)

@lumag
Copy link
Collaborator Author

lumag commented Feb 27, 2025

I'm not sure about bb internals, but something like this might work:

bitbake `find ../layers/meta-qcom -name "*.bb" -o -name "*.bbappend" | sed -e 's!.*/!!g' -e 's!\(_.*\)\?\.bb\(append\)\?!!g' | grep -v 'qcom-partition-confs\|firmware-qcom-boot\|qcom-gen-partition-bins\|linux-yocto\|linux-linaro-qcomlt'`

Fixing #713 would allow us to drop qcom-* and firmware-qcom-boot from the list of exclusions.

@quaresmajose
Copy link
Contributor

We can get all the recipes using the bitbake-layers but because there is a bug in there we need to that in 2 step:

Launch the kas container:

kas-container shell ci/qcs6490-rb3gen2-core-kit.yml
  1. Get the layer name:

Inside the kas the layer is the last dir name of the path, when it should simply be qcom. I will try to propose a fix for this issue

builder@cc4e20ef30cf:/build$ bitbake-layers show-layers 
NOTE: Starting bitbake server...
layer                 path                                                                    priority
========================================================================================================
qcom                  /build/../repo                                                          6
yocto                 /build/../work/meta-yocto/meta-poky                                     5
core                  /build/../work/oe-core/meta                                             5
  1. Get the recipes of the repo layer get in [1]
builder@cc4e20ef30cf:/build$ bitbake-layers show-recipes --layer repo --recipes-only --bare
NOTE: Starting bitbake server...
Loading cache: 100% |                                                                                                               | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |##############################################################################################################| Time: 0:00:13
Parsing of 1000 .bb files complete (0 cached, 1000 parsed). 1977 targets, 65 skipped, 0 masked, 0 errors.
=== Available recipes: ===
bootrr
debugcc
diag
esp-qcom-image
fastrpc
firmware-ath6kl
firmware-qcom-boot-dragonboard410c-sdcard
firmware-qcom-boot-qcs6490
firmware-qcom-boot-qcs9100
firmware-qcom-dragonboard-apq8060
firmware-qcom-dragonboard-apq8074
firmware-qcom-qar2130p
firmware-qcom-sm8150-hdk
firmware-qcom-sm8350-hdk
firmware-qcom-sm8450-hdk
firmware-qcom-sm8550-hdk
firmware-qcom-sm8650-hdk
hexagon-dsp-binaries
hexagon-dspso-qcom-qar2130p
hexagon-dspso-qcom-sm8150-hdk
hexagon-dspso-qcom-sm8350-hdk
hexagon-dspso-qcom-sm8450-hdk
hexagon-dspso-qcom-sm8550-hdk
hexagon-dspso-qcom-sm8650-hdk
initramfs-firmware-db8074-image
initramfs-firmware-dragonboard820c-image
initramfs-firmware-image
initramfs-firmware-mega-image
initramfs-firmware-qar2130p-image
initramfs-firmware-rb12-image
initramfs-firmware-sm8150-hdk-image
initramfs-firmware-sm8350-hdk-image
initramfs-firmware-sm8450-hdk-image
initramfs-firmware-sm8550-hdk-image
initramfs-firmware-sm8650-hdk-image
initramfs-kerneltest-full-image
initramfs-kerneltest-image
initramfs-module-copy-modules
initramfs-rootfs-image
initramfs-test-full-image
initramfs-test-image
initramfs-tiny-image
linux-linaro-qcomlt
linux-qcom-uki
mybw
packagegroup-dragonboard-apq8074
packagegroup-dragonboard410c
packagegroup-dragonboard820c
packagegroup-dragonboard845c
packagegroup-qar2130p
packagegroup-rb1
packagegroup-rb2
packagegroup-rb3gen2
packagegroup-rb5
packagegroup-sa8775p-ride
packagegroup-sm8150-hdk
packagegroup-sm8350-hdk
packagegroup-sm8450-hdk
packagegroup-sm8550-hdk
packagegroup-sm8650-hdk
pd-mapper
pil-squasher
qbootctl
qc-image-unpacker
qca-swiss-army-knife
qcom-gen-partition-bins
qcom-gen-partitions-tool
qcom-partition-confs
qcom-ptool
qdl
qmic
qrtr
qtestsign
rmtfs
rust-android-sparse
skales
tqftpserv
u-boot-qcom

@lumag
Copy link
Collaborator Author

lumag commented Feb 27, 2025

@quaresmajose this doesn't include recipes which we bbappend in the layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants