Files
openwrt/include
John Crispin 9772acb4f7 build: only define the clean rule for packages not selected
BuildPackage expands the full BuildTarget/ipkg for every package in a
Makefile, whether it is selected or not. package/kernel/linux defines
more than 1000 kmods, and this takes about 0.9 s of its 1.2 s parse,
which is on the critical path of every build.

Move the clean rule into BuildTarget/ipkg/disabled, and only expand it
for packages that are not selected, unless DEVELOPER is set. The other
rules of such a package can not be reached, as its compile target only
depends on them if the package is selected. Target types without a
disabled variant are expanded as before.

Signed-off-by: John Crispin <john@phrozen.org>
2026-09-22 18:18:58 +02:00
..
2026-02-17 01:29:57 +01:00
2021-02-05 14:54:47 +01:00
2024-12-02 19:30:22 +00:00
2022-11-27 00:52:06 +01:00
2025-10-20 00:55:06 +02:00
2026-02-13 15:40:13 +01:00
2021-10-24 18:20:50 +02:00