mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libpwm: version bump 1.0-rc1 -> 1.0-rc2
@ 2025-07-29 17:27 Uwe Kleine-König
  2025-08-01  9:36 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2025-07-29 17:27 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.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
---
Hello,

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.

IMHO that doesn't need to be addressed in the version bump commit but
could also be done in a separate commit.

Best regards
Uwe

 rules/libpwm.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/libpwm.make b/rules/libpwm.make
index 4c14e030d6e2..82770805f341 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

base-commit: c9de78371f3db2737a547584085a0376e73f76b0
-- 
2.50.0




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] libpwm: version bump 1.0-rc1 -> 1.0-rc2
  2025-07-29 17:27 [ptxdist] [PATCH] libpwm: version bump 1.0-rc1 -> 1.0-rc2 Uwe Kleine-König
@ 2025-08-01  9:36 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2025-08-01  9:36 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: ptxdist

On Tue, Jul 29, 2025 at 07:27:58PM +0200, Uwe Kleine-König wrote:
> 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.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
> ---
> Hello,
> 
> 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.

The kernel headers are always built before other target packages.

Michael

> IMHO that doesn't need to be addressed in the version bump commit but
> could also be done in a separate commit.
> 
> Best regards
> Uwe
> 
>  rules/libpwm.make | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/rules/libpwm.make b/rules/libpwm.make
> index 4c14e030d6e2..82770805f341 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
> 
> base-commit: c9de78371f3db2737a547584085a0376e73f76b0
> -- 
> 2.50.0
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-01  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-29 17:27 [ptxdist] [PATCH] libpwm: version bump 1.0-rc1 -> 1.0-rc2 Uwe Kleine-König
2025-08-01  9:36 ` Michael Olbrich

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