[PATCH] build: rebuild libs all the time
Jouni Malinen
j at w1.fi
Mon Oct 12 16:27:34 EDT 2020
On Mon, Oct 12, 2020 at 11:30:53AM +0200, Johannes Berg wrote:
> When files change that go into a static library such as
> libutils.a, then libutils.a doesn't get rebuilt from e.g.
> wlantest because the top-level Makefile just calls the
> library make if the library doesn't exist yet.
>
> Change that by making the library depend on a phony target
> (cannot make it itself phony due to the pattern) so that
> the build will always recurse into the library build, and
> check there if the library needs to be rebuilt.
>
> While at it, remove the (actually unnecessary) mkdir so it
> doesn't get done each and every time you do 'make'.
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list