mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 04:47:17 +04:00
The prepare stamp of a Makefile depends on the library version files of every package it defines, selected or not. Packages that are not selected are not in the dependency graph of the top-level build, so their libraries can be built after the package in a parallel build, and the package is prepared and built again on the next run. The own packages of a Makefile are only filtered out if they are defined before the packages that depend on them. mac80211 defines cfg80211 and mac80211 after the drivers, so it depends on its own version files, and every clean build is followed by a rebuild of mac80211, mt76 and linux-firmware. Only add the library dependencies of selected packages, or of all packages if DEVELOPER is set. Signed-off-by: John Crispin <john@phrozen.org>