mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Subject: Re: [ptxdist] [APPLIED] libpwm: drop kernel-header dependency
Date: Fri, 29 Aug 2025 11:46:08 +0200	[thread overview]
Message-ID: <20250829094608.2618632-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20250801104042.177835-2-u.kleine-koenig@baylibre.com>

Thanks, applied as 679de61a65e3e600d8d18d5eda16267c45ef075d.

Michael

[sent from post-receive hook]

On Fri, 29 Aug 2025 11:46:08 +0200, Uwe Kleine-König <u.kleine-koenig@baylibre.com> 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 <u.kleine-koenig@baylibre.com>
> Message-Id: <20250801104042.177835-2-u.kleine-koenig@baylibre.com>
> [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 <m.olbrich@pengutronix.de>
> 
> 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	other threads:[~2025-08-29  9:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-01 10:40 [ptxdist] [PATCH v2] libpwm: version bump 1.0-rc1 -> 1.0-rc2 Uwe Kleine-König
2025-08-29  9:46 ` Michael Olbrich [this message]

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=20250829094608.2618632-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=u.kleine-koenig@baylibre.com \
    /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