Fix thumb regexp

pull/445/head
Dmitry Ilyin 2022-09-08 19:46:31 +03:00
parent 85e623ec0f
commit 4cc0413378
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ toolchain_by_config() {
if [ -z "$ARCH" ]; then
ARCH=$(sed -rn "s/^BR2_(mips_[a-z]*)=y/\1/p" $CF)
else
THUMB=$(sed -rn "s/BR2_ARM_INSTRUCTIONS_(THUMB2)=y/\1/p" $CF)
THUMB=$(sed -rn "s/^BR2_ARM_INSTRUCTIONS_(THUMB2)=y/\1/p" $CF)
if [ ! -z "$THUMB" ]; then
ARCH="${ARCH}_${THUMB,,}"
fi