Skip to content

Commit

Permalink
base: optee-os-fio: deploy build configuration
Browse files Browse the repository at this point in the history
Publish the final configuration used as part of the recipe build
into the LmP deploy folder.

Having the conf.mk file published is quite useful when debugging
configuration issues without having to build it locally.

Signed-off-by: Oleksandr Suvorov <[email protected]>
  • Loading branch information
MrCry0 committed Nov 18, 2022
1 parent 368ac23 commit e5efc5e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions meta-lmp-base/recipes-security/optee/optee-os-fio.inc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ DEPENDS = "python3-pyelftools-native dtc-native"
DEPENDS:append:toolchain-clang = " compiler-rt"

require optee-fio.inc
include optee-os-lmp.inc

# SE05X support
require ${@bb.utils.contains('MACHINE_FEATURES', 'se05x', 'optee-os-fio-se05x.inc', '', d)}
Expand Down
9 changes: 9 additions & 0 deletions meta-lmp-base/recipes-security/optee/optee-os-lmp.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# LmP common include for optee_os

# Also deploy optee_os config used during build
do_deploy:append() {
install -D -m 644 ${B}/conf.mk ${DEPLOYDIR}/${PN}-config-${MACHINE}-${PV}-${PR}
cd ${DEPLOYDIR}
ln -sf ${PN}-config-${MACHINE}-${PV}-${PR} ${PN}-config-${MACHINE}
ln -sf ${PN}-config-${MACHINE}-${PV}-${PR} ${PN}-config
}

0 comments on commit e5efc5e

Please sign in to comment.