<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/stintel/include/target.mk, branch master</title>
<subtitle>Staging tree of Stijn Tintel</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/'/>
<updated>2026-03-01T09:59:19Z</updated>
<entry>
<title>targets: add REGULATOR_SUPPORT auto-feature</title>
<updated>2026-03-01T09:59:19Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2026-02-27T11:08:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=17139e35b1bd7fdd0194e9d46ac64254e6102361'/>
<id>urn:sha1:17139e35b1bd7fdd0194e9d46ac64254e6102361</id>
<content type='text'>
Not all targets need regulator support, so they dont enable it as its
disabled in the generic config by default.

So, in order to allow kernel modules to depend on regulator support lets
add a new feature flag "regulator" and set it automatically if target
kernel config enables CONFIG_REGULATOR.

Link: https://github.com/openwrt/openwrt/pull/22172
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: purge DESCRIPTION</title>
<updated>2026-01-24T10:03:40Z</updated>
<author>
<name>George Sapkin</name>
</author>
<published>2026-01-24T02:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=87b72fefcb373da99463a7b9eaf881b968d1b71f'/>
<id>urn:sha1:87b72fefcb373da99463a7b9eaf881b968d1b71f</id>
<content type='text'>
DESCRIPTION field has been deprecated since 2007, yet internal exporting
causes intermittent package build failures due to the deprecation check,
even with packages that don't have that fields set. Replace all
DESCRIPTION exports with alternative variables defined through shexport
and shvar helpers and remove the check.

Fixes: 547b127d ("make kernel module packaging code reusable and use it in madwifi")
Fixes: 7558f028 ("DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no description is set")
Fixes: cc435322 ("build: optimize target metadata dump")
Fixes: d081edf7 ("build: clean up and optimize ipkg control generator code")
Signed-off-by: George Sapkin &lt;george@sapk.in&gt;
Link: https://github.com/openwrt/openwrt/pull/21668
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: remove iwinfo dependency</title>
<updated>2025-09-27T20:04:57Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2025-09-27T12:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=878f31c2109d6d71d3e6e011f02bb7bf17a763fc'/>
<id>urn:sha1:878f31c2109d6d71d3e6e011f02bb7bf17a763fc</id>
<content type='text'>
Do not always try to include iwinfo in the images when wpa supplicant or
Broadcom nas is also included. iwinfo is incompatible with current
default configuration.

iwinfo is only build when CONFIG_WIFI_SCRIPTS_UCODE is not set. If
CONFIG_WIFI_SCRIPTS_UCODE is not set kmod-cfg80211 depends on iwinfo,
so it should be included in all images with wifi drivers.

The CONFIG_WIFI_SCRIPTS_UCODE option was recently changed to be active
by default.

This should fix the current buildbot build failures.

This reverts commit 6435b8bb27ea ("build: include iwinfo by default
if nas or wpad(-mini) is selected")

Fixes: 04e9929c47e9 ("wifi-scripts: enable ucode scripts by default")
Link: https://github.com/openwrt/openwrt/pull/20211
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>build: use --no-print-directory for dumping subtargets</title>
<updated>2025-07-30T21:31:26Z</updated>
<author>
<name>Sven Wegener</name>
</author>
<published>2025-07-06T17:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=2684fe31d02e2c88ead04bca7c464e7906682c3c'/>
<id>urn:sha1:2684fe31d02e2c88ead04bca7c464e7906682c3c</id>
<content type='text'>
Or else we end up with "Entering directory" and "Leaving directory" from make in tmp/.targetinfo

Signed-off-by: Sven Wegener &lt;sven.wegener@stealer.net&gt;
Link: https://github.com/openwrt/openwrt/pull/19326
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>targets: add USES_PM auto-feature</title>
<updated>2025-07-20T11:16:13Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2025-07-17T20:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=85f27367eac568b389041ec8b7ee97cd8ceec622'/>
<id>urn:sha1:85f27367eac568b389041ec8b7ee97cd8ceec622</id>
<content type='text'>
Not all targets support power management, some older or more simple
targets don't have CONFIG_PM set. Allow kernel module packages to
depend on USES_PM to only be available on targets which got
CONFIG_PM=y in their kernel config.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>targets: add PINCTRL_SUPPORT auto-feature</title>
<updated>2025-07-19T12:54:22Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2025-07-17T18:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=801529f7252a33676e98c8f87db638d1504db7b1'/>
<id>urn:sha1:801529f7252a33676e98c8f87db638d1504db7b1</id>
<content type='text'>
Not all targets have CONFIG_PINCTRL=y set in their kernel config.
Let's introduce a feature for that so kernel module packages which
select or depend on CONFIG_PINCTRL=y may depend on that, so we can
try to prevent leaking CONFIG_PINCTRL=y also into targets which do
not require it.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>kernel: Fix patch folders setting for test kernel</title>
<updated>2025-04-23T08:29:14Z</updated>
<author>
<name>Mieczyslaw Nalewaj</name>
</author>
<published>2025-04-22T20:59:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=2c8fb6fa9ff67bdc4cc4ce3c38f372d23ba4377f'/>
<id>urn:sha1:2c8fb6fa9ff67bdc4cc4ce3c38f372d23ba4377f</id>
<content type='text'>
Move kernel-version.mk include to proper place to properly set patch folders for test kernel.

Fixes: 8865dadea7b94e7859b416d3b1931b897ea43c48

Signed-off-by: Mieczyslaw Nalewaj &lt;namiltd@yahoo.com&gt;</content>
</entry>
<entry>
<title>kernel: move kernel version files to linux/generic directory</title>
<updated>2025-04-22T17:22:44Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2025-04-19T12:54:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=8865dadea7b94e7859b416d3b1931b897ea43c48'/>
<id>urn:sha1:8865dadea7b94e7859b416d3b1931b897ea43c48</id>
<content type='text'>
To further improve cleanup and maintenance usage, move the kernel
version files to target/linux/generic directory. This permits to self
contain any change to the specific generic directory instead of having
to bload the include directory of periodic changes.

In kernel-version.mk we now use GENERIC_PLATFORM_DIR provided by
target.mk. To make this work, we need to move the inclusion of
kernel-version.mk in target.mk right after GENERIC_PLATFORM_DIR is
defined.

This also comes to permit downstream project to provide a custom generic
directory and specify the kernel version complete of the hash and the
minor version without having to affect other feeds.

In such case both generic and the target directory are provided as feeds
and OpenWrt reference these specific one instead of the generic one.

For downstream it's still suggested and preferable to all match the
shipped generic kernel minor version but this change permits to at least
enforce good practice instead of having to bloat OpenWrt include file of
all kind of downstream changes (making porting to OpenWrt mainline even
more difficult)

Link: https://github.com/openwrt/openwrt/pull/18537
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>include: move generic riscv64 ISA to rv64gc</title>
<updated>2025-04-13T14:43:31Z</updated>
<author>
<name>Zoltan HERPAI</name>
</author>
<published>2025-02-24T12:18:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=143569c2ed31b8baa0c97ff3b3681fd3a7d506cc'/>
<id>urn:sha1:143569c2ed31b8baa0c97ff3b3681fd3a7d506cc</id>
<content type='text'>
The current CFLAGS (rv64imafdc) for the riscv64 targets do not contain
the full generic compute extension (g), as that also includes the
zicsr and zifencei extensions/instructions. Rename the default ISA to
'generic' to add distinction to the current binaries (although it's very
minimal), and use rv64gc for CFLAGS.

This is also a prep step for the upcoming gcv (vector-extension supporting)
targets like the Spacemit K1, and the thead-cores like the TH1520.

Compile-tested: all riscv64 targets
Runtime-tested:
 - SiFive Unleashed (FU540)
 - SiFive Unmatched (FU740)
 - Nezha D1 (D1)
 - VisionFive2 (JH7110)

Link: https://github.com/openwrt/openwrt/pull/18094
Tested-by: Chuanhong Guo &lt;gch981213@gmail.com&gt; # siflower target
Signed-off-by: Zoltan HERPAI &lt;wigyori@uid0.hu&gt;
</content>
</entry>
<entry>
<title>target.mk: Fix features detection for PWM</title>
<updated>2025-03-28T11:38:33Z</updated>
<author>
<name>Weikai Kong</name>
</author>
<published>2025-03-15T17:09:54Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=2adc6293f4fc21e264e079126e1395ec9812147d'/>
<id>urn:sha1:2adc6293f4fc21e264e079126e1395ec9812147d</id>
<content type='text'>
kmod-leds-pwm depends on @PWM_SUPPORT, instead of adding pwm to the
features env for specific targets, use the existing detection method.

Signed-off-by: Weikai Kong &lt;priv@pppig236.com&gt;
Link: https://github.com/openwrt/openwrt/pull/18185
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
</feed>
