M4PROJECTS-STM32MP1: fix board pattern and installation path

Signed-off-by: Lionel VITTE <lionel.vitte@st.com>
Change-Id: Ic28d02e3043d838c1c3848331e38b67472feac6e
This commit is contained in:
Lionel VITTE
2022-09-16 12:46:08 +02:00
committed by bernard PUEL
parent a033970483
commit 9f1216974d
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh -
# test if we are a stm32mp1
if ! $(grep -q "stm32mp157[acdf]-dk\|ev" /proc/device-tree/compatible) ;
if ! $(grep -q "stm32mp157[acdf]-\(dk\|ev\)" /proc/device-tree/compatible) ;
then
exit 0
fi

View File

@ -37,7 +37,7 @@ BUILD_CONFIG ?= "Debug"
# Init default installation path
M4_FOLDER ?= "Cube-M4-examples"
M4_INSTALLDIR ?= "${prefix}local"
M4_INSTALLDIR ?= "${prefix}/local"
M4_OUTPUT_4USERFS = "${M4_INSTALLDIR}/${M4_FOLDER}"
# Use gcc bare toolchain