Skip to content

Add linux-tool-tmon

Markus Mayer buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Makefile: don't rely on linux-tools being sorted alphabeticallyMakefile package/linux-tools/linux-tools.mk+8 -619 replies
2/2package/linux-tools: add tmonpackage/linux-tools/Config.in package/linux-tools/linux-tool-tmon.mk+37 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/2] Add linux-tool-tmon

From: Markus Mayer <[email protected]>

Linux includes a tool for thermal monitoring (linux/tools/thermal/tmon). This series enables building this tool alongside other userspace tools bundled with the Linux kernel (known in buildroot as linux-tools).

In order to add linux-tool-tmon, we need to first stop relying on alphabetical sorting of the linux-tool*.mk files.

Currently, the build system relies on linux-tool-*.mk files (i.e. the sub-makefiles) to be sorted alphabetically such that linux-tools.mk (the main makefile for linux-tools) will come last, therefore ensuring that the sub-makefiles are included before the main makefile. So far, this assumption has held true. Unfortunately, linux-tool-tmon.mk breaks it. Sorted in the C locale, linux-tool-tmon.mk comes after linux-tools.mk.

To ensure that the inclusion order remains correct, the logic to include the linux-tool*mk has been modified.

Markus Mayer (2):
Makefile: don't rely on linux-tools being sorted alphabetically package/linux-tools: add tmon

 Makefile                               |  6 +++++-
 package/linux-tools/Config.in          |  7 +++++++
 package/linux-tools/linux-tool-tmon.mk | 30 ++++++++++++++++++++++++++++++
 package/linux-tools/linux-tools.mk     |  8 +++-----
 4 files changed, 45 insertions(+), 6 deletions(-)
 create mode 100644 package/linux-tools/linux-tool-tmon.mk
Signature · 1 line
2.13.0