[1/1] gcc: Fix typo in linux64.h install patch

Message ID 20220110140556.2185250-1-andrei@gherzan.com
State Accepted, archived
Commit 5f0f00f0988c02d7fe0fa62edf3e4901ce9941a6
Headers show
Series [1/1] gcc: Fix typo in linux64.h install patch | expand

Commit Message

Andrei Gherzan Jan. 10, 2022, 2:05 p.m. UTC
From: Andrei Gherzan <andrei.gherzan@huawei.com>

The "gcc: Fix compile of gcc plugins" patch had a typo making it a noop.
This was due to a rework to make it specific to the linux64.h header.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .../gcc/gcc/0001-Fix-install-path-of-linux64.h.patch            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/gcc/gcc/0001-Fix-install-path-of-linux64.h.patch b/meta/recipes-devtools/gcc/gcc/0001-Fix-install-path-of-linux64.h.patch
index 9201538f0e..5bf895d6e7 100644
--- a/meta/recipes-devtools/gcc/gcc/0001-Fix-install-path-of-linux64.h.patch
+++ b/meta/recipes-devtools/gcc/gcc/0001-Fix-install-path-of-linux64.h.patch
@@ -23,7 +23,7 @@  index 9b17d120a..d175ec4e3 100644
  	  "$(srcdir)"/config/* | "$(srcdir)"/common/config/* \
  	  | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \
  	    base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \
-+	  ./linux64.h ) \
++	  */linux64.h ) \
 +	    base=`dirname $$path`;;\
  	  *) base=`basename $$path` ;; \
  	  esac; \