openwrt/tools/automake/patches
Michael Pratt dddf7b05cd tools: automake: fix MAINTAINERCLEANFILES warnings
It seems that, for whatever reason in this case,
the function "vardef ($var, $cond)" does not work
while "$var->def ($cond)" does work for conditionals.

Also, do not define it conditionally when defined unconditionally.
Even though the reordering patch would make that functionally sound,
it still throws a warning which can cause a build to fail
when warnings are treated as errors.

Instead, just add BUILT_SOURCES to every existing case
rather than only when BUILT_SOURCES is defined.

Fixes: 6d2bfe50d3 ("tools/automake: control all cleaning with clean variables")
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/19593
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-07-29 21:31:11 +02:00
..
000-relocatable.patch tools/automake: update to 1.18 2025-07-26 14:38:09 +02:00
100-aclocal-skip-not-existing-directories.patch tools/automake: update to 1.18 2025-07-26 14:38:09 +02:00
101-do-not-require-files.patch tools/automake: update to 1.18 2025-07-26 14:38:09 +02:00
200-other-V-values-for-verbosity.patch tools/automake: update to 1.17 2025-07-26 14:38:07 +02:00
300-output-TRUE-cond-first.patch tools/automake: update to 1.18 2025-07-26 14:38:09 +02:00
310-maintainer-clean-built_sources.patch tools: automake: fix MAINTAINERCLEANFILES warnings 2025-07-29 21:31:11 +02:00
999-clean-am.patch tools/automake: do not delete libtool in clean targets 2025-07-26 14:38:08 +02:00