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 <[email protected]>
> ---
> 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 |

Reply via email to