From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 29 Aug 2025 11:46:23 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1urvge-005lvo-1O for lore@lore.pengutronix.de; Fri, 29 Aug 2025 11:46:23 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1urvgd-0003n3-JX; Fri, 29 Aug 2025 11:46:23 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1urvgP-0003mf-4Q; Fri, 29 Aug 2025 11:46:09 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1urvgO-002hqq-2U; Fri, 29 Aug 2025 11:46:08 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1urvgO-0000000AzEC-30U9; Fri, 29 Aug 2025 11:46:08 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 29 Aug 2025 11:46:08 +0200 Message-ID: <20250829094608.2618632-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250801104042.177835-2-u.kleine-koenig@baylibre.com> References: <20250801104042.177835-2-u.kleine-koenig@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] libpwm: drop kernel-header dependency X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 679de61a65e3e600d8d18d5eda16267c45ef075d. Michael [sent from post-receive hook] On Fri, 29 Aug 2025 11:46:08 +0200, Uwe Kleine-König wrote: > The rc2 release contains a few minor bug fixes and ships a copy of > 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 > 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 > > 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