Skip to content

Commit

Permalink
Only enable multi-arch build in dev area if SCRAM_TARGET=auto e.g. fo…
Browse files Browse the repository at this point in the history
…r MULTIARCH/SKYLAKE builds
  • Loading branch information
smuzaffar committed Apr 24, 2024
1 parent 26955ad commit ba4e63e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SCRAM/hooks/project/00-multi-targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash
#Create local multi-targets is exists in RELEASETOP
if [ -f "${RELEASETOP}/.SCRAM/${SCRAM_ARCH}/multi-targets" ] ; then
touch ${LOCALTOP}/.SCRAM/${SCRAM_ARCH}/multi-targets
MULTIARCH_TARGET=$(grep '^SCRAM_TARGET:=' ${RELEASETOP}/.SCRAM/${SCRAM_ARCH}/MakeData/variables.mk | sed 's|.*=||;s| ||g')
if [ "${MULTIARCH_TARGET}" = "auto" ] ; then
touch ${LOCALTOP}/.SCRAM/${SCRAM_ARCH}/multi-targets
fi
fi

0 comments on commit ba4e63e

Please sign in to comment.