mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] libpwm: version bump 1.0-rc1 -> 1.0-rc2
@ 2025-08-01 10:40 Uwe Kleine-König
  0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2025-08-01 10:40 UTC (permalink / raw)
  To: ptxdist

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-01 10:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-01 10:40 [ptxdist] [PATCH v2] libpwm: version bump 1.0-rc1 -> 1.0-rc2 Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox