intel / thermal_daemon

Thermal daemon for IA
GNU General Public License v2.0
539 stars 117 forks source link

Makefile: Fix Failed to open file thermald-resource.gresource.xml #436

Closed yktyagi closed 4 months ago

yktyagi commented 5 months ago

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

spandruvada commented 4 months ago

Can you give an example, on how are you building outside source dire?

yktyagi commented 4 months ago

I am building thermald in yocto. Below is the directory structure :

Thermald_build

So, thermald source is fetched to 'git' directory and build happens inside the 'build' directory.

spandruvada commented 4 months ago

Applied to my 2.5.8 branch. It will be part of that release. Thanks for the contribution.

spandruvada commented 4 months ago

Will be part v2.5.8 release.