summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-bsp/lm_sensors
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-252-3/+1
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: Remove unnecessary sedLeonard Anderweit2025-05-051-4/+0
| | | | | | | | | | The sed in in do_configure not necessary anymore with commit fc88c96c4e40 (lmsensors: Fix build without sensord). Remove it to simplify the recipe. Suggested-by: Haixiao Yan <haixiao.yan.cn@windriver.com> Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: Fix build without sensordLeonard Anderweit2025-04-241-2/+3
| | | | | | | | | | | | | | | | When building with sensord disabled (PACKAGECONFIG = ""), do_install would fail because it tried to build sensord which was skiped in do_compile. Error log: make: *** No rule to make target 'rrd.h', needed by 'prog/sensord/rrd.rd'. Stop. Avoid building sensord in do_install by explicitly setting PROG_EXTRA. Fixes: 86b20b84ec27 (lmsensors: Clean stale files for sensord to avoid incorrect GCC header dependencies) Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: Clean stale files for sensord to avoid incorrect GCC header ↵Haixiao Yan2025-04-101-1/+4
| | | | | | | | | | | | | | | | | | | dependencies After upgrading GCC—for example, from 14.1.0 to 14.2.0—building lmsensors that was previously compiled with GCC 14.1.0 may fail with an error like: lmsensors/3.6.0/recipe-sysroot-native/usr/lib/x86_64-wrs-linux/gcc/x86_64-wrs-linux/ 14.1.0/include/stddef.h can't find, which is needed by 'prog/sensord/args.rd'. This occurs because prog/sensord/args.rd still references stale headers from the older GCC version. The root cause is that stale *.rd and *.ro files under prog/sensord are not properly cleaned during do_configure. This patch ensures those files are removed to prevent broken dependencies when GCC is upgraded. Also remove the same statement in do_compile. Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: fix building with GCC 14Dmitry Baryshkov2024-06-062-0/+37
| | | | | | | | GCC 14 is more strict regarding const pointers conversion. Fix conversion to let lmsensors build with GCC 14. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Switch away from S = WORKDIRKhem Raj2024-05-231-6/+7
| | | | | | Make it dependent on UNPACKDIR instead Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Start WORKDIR -> UNPACKDIR transitionKhem Raj2024-05-231-2/+2
| | | | | | | Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: do not pull in unneeded perl modules for run-time dependenciesBeniamin Sandu2023-06-081-2/+3
| | | | | Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-042-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-032-45/+45
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmsensors: use /run instead of /var/run for systemd serviceQi.Chen@windriver.com2020-10-162-0/+45
| | | | | | | | Backport patch to use /run instead of /var/run for systemd service files. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: do not depend on lmsensors-isatools on non-x86lumag2020-06-221-1/+1
| | | | | | | | | lmsensors will build isadump and isaset only on x86 architecture. Depending on this package breaks lmsensors on all non-x86 machines. Fix this by enabling ${PN}-isatools dependency only on x86. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: Fix sensord dependenciesPaul Barker2020-02-281-2/+1
| | | | | | | | | If sensord is removed from PACKAGECONFIG, the recipe should not depend on rrdtool and the lmsensors package should not depend on lmsensors-sensord. Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: upgrade 3.5.0 -> 3.6.0Zheng Ruoqin2019-11-013-117/+1
| | | | | | | | | | | 1) Upgrade lmsensors from 3.5.0 to 3.6.0. 2) Remove two patches for their function have been included in new version. 0001-lmsensors-sensors-detect-print-a-special-message-whe.patch 0002-lm-sensors-fix-sensors-detect-can-t-read-the-cpu-inf.patch Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: add a PACKAGECONFIG for sensordCallaghan, Dan2019-09-162-20/+44
| | | | | | | | | | | | We don't install the lmsensors-sensord subpackage in our images, but our build process still has to build the subpackage and all its dependencies, including rrdtool. Adding a PACKAGECONFIG for sensord lets us entirely avoid building rrdtool and its dependency chain, which reduces our image build process by 141 tasks. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: add runtime dependency on bashMartin Jansa2019-08-171-1/+1
| | | | | | | | * fixes: ERROR: QA Issue: /usr/sbin/pwmconfig contained in package lmsensors-pwmconfig requires /bin/bash, but no providers found in RDEPENDS_lmsensors-pwmconfig? [file-rdeps] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: support package lmsensorsHongxu Jia2019-07-261-0/+12
| | | | | | | | | | | Recipe lmsensors has multiple packages, but do not provide package lmsensors. The fix will allow package lmsensors empty, and it runtime depends on other sub packages. It is convenience for Yocto new user to install all of them by specifying one package, especially the package name is the same with recipe name Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: Update to 3.5.0Robert Joslyn2019-06-154-130/+33
| | | | | | | | | | | * Switch to git rather than using inconsistent GitHub archive tarballs. * Dependency on libsysfs was removed in 3.0.1 * Remove upstreamed patch fixing musl support and refresh remaining patches * Remove unnecessary conditional on systemd. The update-rc.d and systemd classes handle placement of these files properly. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: read cpu information fail on ppcDengke Du2019-02-282-0/+75
| | | | | | | | | | | | | | | The program sensors-detect in lmsensors can't read the cpu information on ppc and arm arch, such as: fsl-t4xxx based on ppc. This is because the program sensors-detect design for the x86 and x86-64, but weak on ppc and arm. So add the support for the ppc and arm, just add the correspond field to read in sensors-detect. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: split one dpg packageHongxu Jia2018-09-181-8/+7
| | | | | | | | | | | Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one. Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lmsensors: add RECIPE_UPSTREAM_VERSIONYi Zhao2018-05-291-0/+8
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lm_sensors: move to recipes-bspArmin Kuster2018-03-0111-0/+473
Signed-off-by: Armin Kuster <akuster808@gmail.com>