mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-08 03:49:57 +00:00
hwdata: add patch to use sysroot prefix for pkgdatadir
Add backport patch https://github.com/vcrhonek/hwdata/pull/19/commits/d3325fd72bd45ba74e709b4083521104193b224e Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
|||||||
|
From f5311fb8519c6360333934537abeb64198e2c212 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Markus Volk <f_l_k@t-online.de>
|
||||||
|
Date: Wed, 9 Nov 2022 18:37:41 +0100
|
||||||
|
Subject: [PATCH] hwdata.pc.in: use sysroot prefix for pkgdatadir variable
|
||||||
|
|
||||||
|
The pc_sysroot is automatically added to cflags and libs but not
|
||||||
|
to 'pkg-config --variable'. This matches what wayland-protocols does.
|
||||||
|
|
||||||
|
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
||||||
|
|
||||||
|
Upstream-Status: Backport [https://github.com/vcrhonek/hwdata/pull/19/commits/d3325fd72bd45ba74e709b4083521104193b224e]
|
||||||
|
---
|
||||||
|
hwdata.pc.in | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/hwdata.pc.in b/hwdata.pc.in
|
||||||
|
index 8dd73b6..c5791d3 100644
|
||||||
|
--- a/hwdata.pc.in
|
||||||
|
+++ b/hwdata.pc.in
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
datadir=@datadir@
|
||||||
|
-pkgdatadir=@pkgdatadir@
|
||||||
|
+pkgdatadir=${pc_sysrootdir}@pkgdatadir@
|
||||||
|
|
||||||
|
Name: @NAME@
|
||||||
|
Description: Hardware identification and configuration data
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
||||||
@@ -6,7 +6,11 @@ LICENSE = "GPL-2.0-or-later | XFree86-1.0"
|
|||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57"
|
||||||
|
|
||||||
SRCREV = "3ac83cecf56f299e7390e5afeab2808632719243"
|
SRCREV = "3ac83cecf56f299e7390e5afeab2808632719243"
|
||||||
SRC_URI = "git://github.com/vcrhonek/${BPN}.git;branch=master;protocol=https"
|
SRC_URI = " \
|
||||||
|
git://github.com/vcrhonek/${BPN}.git;branch=master;protocol=https \
|
||||||
|
file://0001-hwdata.pc.in-use-sysroot-prefix-for-pkgdatadir-varia.patch \
|
||||||
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit allarch
|
inherit allarch
|
||||||
|
|||||||
Reference in New Issue
Block a user