Skip to content

Commit

Permalink
bsp: u-boot-ti-staging: remove multiconfig common files
Browse files Browse the repository at this point in the history
Because TI uses multiconfig we can't have this file names shared between machines in [1]

| ERROR: mc:k3r5:u-boot-ti-staging-1_2023.04+git-r0 do_deploy: Recipe u-boot-ti-staging is trying to install files into a shared area when those files already exist. The files and the manifests listing them are:
|   /build/deploy/images/am62xx-evm/u-boot-ti-staging-config
|     (matched in manifest-am62xx_evm-u-boot-ti-staging.deploy)
| Please adjust the recipes so only one recipe provides a given file.

[1] meta-lmp-base/recipes-bsp/u-boot/u-boot-lmp-common.inc

Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose committed Sep 23, 2024
1 parent 2d3024e commit ecb04c1
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ SRC_URI:append:beagleplay = " \
"
PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/tee-pager_v2.bin,,${PREFERRED_PROVIDER_virtual/optee-os}"

do_deploy:append() {
# because TI uses multiconfig we can't have this name shared between machines in
# meta-lmp-base/recipes-bsp/u-boot/u-boot-lmp-common.inc
rm ${DEPLOYDIR}/${PN}-config
}

# setting DEPENDS create dependency loops so skip the check
LMPSTAGING_DEPLOYED_CHECK_SKIP += "${PN}:do_deploy"

Expand Down

0 comments on commit ecb04c1

Please sign in to comment.