From 9f1216974da434fd138e799e95125a84a27f7a86 Mon Sep 17 00:00:00 2001 From: Lionel VITTE Date: Fri, 16 Sep 2022 12:46:08 +0200 Subject: [PATCH] M4PROJECTS-STM32MP1: fix board pattern and installation path Signed-off-by: Lionel VITTE Change-Id: Ic28d02e3043d838c1c3848331e38b67472feac6e --- recipes-extended/m4projects/files/shutdown-stm32mp1-m4.sh | 2 +- recipes-extended/m4projects/m4projects.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-extended/m4projects/files/shutdown-stm32mp1-m4.sh b/recipes-extended/m4projects/files/shutdown-stm32mp1-m4.sh index 35ffe0b..af66d9c 100755 --- a/recipes-extended/m4projects/files/shutdown-stm32mp1-m4.sh +++ b/recipes-extended/m4projects/files/shutdown-stm32mp1-m4.sh @@ -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 diff --git a/recipes-extended/m4projects/m4projects.inc b/recipes-extended/m4projects/m4projects.inc index 7d5882b..741d2b0 100644 --- a/recipes-extended/m4projects/m4projects.inc +++ b/recipes-extended/m4projects/m4projects.inc @@ -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