hostapd: avoid unnecessary package rebuilds
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Fri, 15 Oct 2021 16:39:19 +0000 (13:39 -0300)
committerFelix Fietkau <nbd@nbd.name>
Mon, 1 Nov 2021 19:18:55 +0000 (20:18 +0100)
commit67f9245ee57eaf47093275670b227c7911f485d4
treeb0f2b1d01acd772af9195658918fc85c9e1ad6f5
parent19aae949c608c8e78475988a8c7b453b8187d865
hostapd: avoid unnecessary package rebuilds

Package hostapd-common is a dependency of every other package defined in
hostpad Makefile.  It is currently built next to the bottom of that
Makefile's package list.

If you run make back to back, then check-compile will compare the
hostapd-common timestamp to the variant being compiled, to decide if the
varint needs to be rebuilt or not.  Since the hostapd-conf package is
built towards the end of the list, it will be newer than most of the
variants, causing unnecessary package rebuilds.

Move it to the top, so that its timestamp will be older than dependent
packages, avoiding unnecessary rebuild of every selected variant.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
package/network/services/hostapd/Makefile