Thanks, applied as 679de61a65e3e600d8d18d5eda16267c45ef075d.

Michael

[sent from post-receive hook]

On Fri, 29 Aug 2025 11:46:08 +0200, Uwe Kleine-König 
<[email protected]> 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.
> 
> So the dependency on KERNEL_HEADER can be dropped.
> 
> Signed-off-by: Uwe Kleine-König <[email protected]>
> Message-Id: <[email protected]>
> [mol: v1 of "libpwm: version bump 1.0-rc1 -> 1.0-rc2" was accidentally
> applied. This is the rest of v2]
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> 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 82770805f341..8dfd9d76f67f 100644
> --- a/rules/libpwm.make
> +++ b/rules/libpwm.make
> @@ -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

Reply via email to