Skip to content

Commit

Permalink
Merge pull request #73 from tq-steina/kirkstone
Browse files Browse the repository at this point in the history
arm-compute-library: Override do_configure
  • Loading branch information
otavio authored Jan 25, 2024
2 parents e86f4ac + fe66f95 commit 1c107bc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions recipes-libraries/arm-compute-library/arm-compute-library_22.05.bb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ EXTRA_OESCONS:append:aarch64 = " arch=arm64-v8a neon=1"

TARGET_CC_ARCH += "${LDFLAGS}"

# Override scons_do_configure which includes unknown variables PREFIX and prefix
do_configure() {
if [ -n "${CONFIGURESTAMPFILE}" -a "${S}" = "${B}" ]; then
if [ -e "${CONFIGURESTAMPFILE}" -a "`cat ${CONFIGURESTAMPFILE}`" != "${BB_TASKHASH}" -a "${CLEANBROKEN}" != "1" ]; then
${STAGING_BINDIR_NATIVE}/scons --directory=${S} --clean ${EXTRA_OESCONS}
fi

mkdir -p `dirname ${CONFIGURESTAMPFILE}`
echo ${BB_TASKHASH} > ${CONFIGURESTAMPFILE}
fi
}

# Override scons_do_compile which includes unknown variables PREFIX and prefix
do_compile() {
${STAGING_BINDIR_NATIVE}/scons --directory=${S} ${PARALLEL_MAKE} ${EXTRA_OESCONS} || \
Expand Down

0 comments on commit 1c107bc

Please sign in to comment.