From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2] libpwm: version bump 1.0-rc1 -> 1.0-rc2
Date: Fri, 1 Aug 2025 12:40:42 +0200 [thread overview]
Message-ID: <20250801104042.177835-2-u.kleine-koenig@baylibre.com> (raw)
The rc2 release contains a few minor bug fixes and ships a copy of
<linux/pwm.h> which makes it possible to compile in the character device
support with kernel headers older than 6.17-rc1.
So the dependency on KERNEL_HEADER can be dropped.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
---
On Fri, Aug 01, 2025 at 11:36:35AM +0200, Michael Olbrich wrote:
> On Tue, Jul 29, 2025 at 07:27:58PM +0200, Uwe Kleine-König wrote:
> > libpwm 1.0-rc2 doesn't need kernel headers any more as it contains a
> > copy of <linux/pwm.h> now. Still if PTXCONF_KERNEL_HEADER=y libpwm
> > should be built after kernel-header. I don't know how to formalize that.
>
> Drop the 'select' and make the CPPFLAGS conditional, like e.g.
> rules/liburing.make.
Implemented in this v2.
> The kernel headers are always built before other target packages.
That makes sense, thanks.
Best regards
Uwe
rules/libpwm.in | 1 -
rules/libpwm.make | 8 +++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/rules/libpwm.in b/rules/libpwm.in
index 6d07e056a3e5..6906053406a3 100644
--- a/rules/libpwm.in
+++ b/rules/libpwm.in
@@ -3,6 +3,5 @@
config LIBPWM
bool
prompt "libpwm"
- select KERNEL_HEADER
help
drive Linux PWM devices from userspace
diff --git a/rules/libpwm.make b/rules/libpwm.make
index 4c14e030d6e2..8dfd9d76f67f 100644
--- a/rules/libpwm.make
+++ b/rules/libpwm.make
@@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_LIBPWM) += libpwm
#
# Paths and names
#
-LIBPWM_VERSION := 1.0-rc1
-LIBPWM_MD5 := bb8032cd03c25a0dcdc76712acda714c
+LIBPWM_VERSION := 1.0-rc2
+LIBPWM_MD5 := ccf05e263bd26418311e0e93848b3a71
LIBPWM := libpwm-$(LIBPWM_VERSION)
LIBPWM_SUFFIX := tar.xz
-LIBPWM_URL := https://mirrors.edge.kernel.org/pub/linux/kernel/people/ukleinek/libpwm/libpwm-1.0-rc1.tar.xz
+LIBPWM_URL := https://mirrors.edge.kernel.org/pub/linux/kernel/people/ukleinek/libpwm/libpwm-$(LIBPWM_VERSION).tar.xz
LIBPWM_SOURCE := $(SRCDIR)/$(LIBPWM).$(LIBPWM_SUFFIX)
LIBPWM_DIR := $(BUILDDIR)/$(LIBPWM)
LIBPWM_BUILD_OOT := YES
@@ -31,7 +31,9 @@ LIBPWM_LICENSE_FILES := file://COPYING;md5=41d65f310284fe1f2945ea9c57f297c7
LIBPWM_CONF_TOOL := autoconf
LIBPWM_CONF_OPT := $(CROSS_AUTOCONF_USR)
+ifdef PTXCONF_KERNEL_HEADER
LIBPWM_CPPFLAGS := -isystem $(KERNEL_HEADERS_INCLUDE_DIR)
+endif
# ----------------------------------------------------------------------------
# Target-Install
base-commit: c9de78371f3db2737a547584085a0376e73f76b0
--
2.50.1
reply other threads:[~2025-08-01 10:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250801104042.177835-2-u.kleine-koenig@baylibre.com \
--to=u.kleine-koenig@baylibre.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox