Create a separate variable for branch value and derive the value from PV
so AUH is able to upgrade the recipe.

Release Notes:
https://github.com/intel/thermal_daemon/releases/tag/v2.5.6

Signed-off-by: Yogesh Tyagi <[email protected]>
---
 .../files/0001-Makefile-Fix-build-Issue.patch | 39 +++++++++++++++++++
 .../{thermald_2.5.4.bb => thermald_2.5.6.bb}  |  3 +-
 2 files changed, 41 insertions(+), 1 deletion(-)
 create mode 100644 
dynamic-layers/openembedded-layer/recipes-bsp/thermald/files/0001-Makefile-Fix-build-Issue.patch
 rename 
dynamic-layers/openembedded-layer/recipes-bsp/thermald/{thermald_2.5.4.bb => 
thermald_2.5.6.bb} (92%)

diff --git 
a/dynamic-layers/openembedded-layer/recipes-bsp/thermald/files/0001-Makefile-Fix-build-Issue.patch
 
b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/files/0001-Makefile-Fix-build-Issue.patch
new file mode 100644
index 00000000..270cc84d
--- /dev/null
+++ 
b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/files/0001-Makefile-Fix-build-Issue.patch
@@ -0,0 +1,39 @@
+From c4c049481d48f33319b1d04cad56d622c4eed65f Mon Sep 17 00:00:00 2001
+From: Yogesh Tyagi <[email protected]>
+Date: Mon, 11 Mar 2024 13:13:32 +0800
+Subject: [PATCH] Makefile: Fix build Issue
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+In case build directory is different from source, make sure make is able to 
find the correct input files. 
+
+Fixes:
+| dbus-binding-tool --prefix=thd_dbus_interface --mode=glib-server 
--output=thd_dbus_interface.h ../git/src/thd_dbus_interface.xml
+| glib-compile-resources --generate-source thermald-resource.gresource.xml
+| Failed to open file “thermald-resource.gresource.xml”: No such file or 
directory
+
+
+Upstream-Status: Submitted
+https://github.com/intel/thermal_daemon/pull/436
+
+Signed-off-by: Yogesh Tyagi <[email protected]>
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index a0c051a..772e280 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -95,6 +95,6 @@ thd_dbus_interface.h: 
$(top_srcdir)/src/thd_dbus_interface.xml
+       $(AM_V_GEN) dbus-binding-tool --prefix=thd_dbus_interface 
--mode=glib-server --output=$@ $<
+ 
+ thermald-resource.c: $(top_srcdir)/thermald-resource.gresource.xml
+-      $(AM_V_GEN) glib-compile-resources --generate-source 
thermald-resource.gresource.xml
++      $(AM_V_GEN) glib-compile-resources --generate-source 
--sourcedir=${top_srcdir} $<
+ 
+ CLEANFILES = $(BUILT_SOURCES)
+-- 
+2.34.1
+
diff --git 
a/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.4.bb 
b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.6.bb
similarity index 92%
rename from 
dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.4.bb
rename to 
dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.6.bb
index ad66d843..df242cdf 100644
--- a/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.4.bb
+++ b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.6.bb
@@ -13,9 +13,10 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848"
 
 SRC_URI = "git://github.com/intel/thermal_daemon/;branch=master;protocol=https 
\
+           file://0001-Makefile-Fix-build-Issue.patch \
            "
 
-SRCREV = "63b290f20da115f62f5bbd39a28fa5afe0f6efc2"
+SRCREV = "3990ce2391e5c07293758c056e09e4f2453691b4"
 S = "${WORKDIR}/git"
 
 inherit pkgconfig autotools systemd gtk-doc
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8260): 
https://lists.yoctoproject.org/g/meta-intel/message/8260
Mute This Topic: https://lists.yoctoproject.org/mt/104860283/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to