Re: [PATCH v2 1/6] Kbuild: Fix cleanup of generated sources in tools

2023-09-28 Thread Rasmus Villemoes
On 20/06/2023 00.41, Tobias Deiminger wrote: > quiet_cmd_wrap = WRAP$@ > -cmd_wrap = echo "\#include <../$(patsubst $(obj)/%,%,$@)>" >$@ > +cmd_wrap = echo "\#include <../$(patsubst $(obj)/generated/%,%,$@)>" >$@ > > -$(obj)/boot/%.c $(obj)/common/%.c $(obj)/env/%.c $(obj)/lib/%.c: > +$(obj

Re: [PATCH v2 1/6] Kbuild: Fix cleanup of generated sources in tools

2023-07-08 Thread Tom Rini
On Tue, Jun 20, 2023 at 12:41:02AM +0200, Tobias Deiminger wrote: > On 'make clean', generated C files in tools/env/ and tools/boot/ are > currently not removed, but they should. > > Auto-generation for shared sources was first introduced with > ad80c4a3220b ("kbuild, tools: generate wrapper C so

[PATCH v2 1/6] Kbuild: Fix cleanup of generated sources in tools

2023-06-19 Thread Tobias Deiminger
On 'make clean', generated C files in tools/env/ and tools/boot/ are currently not removed, but they should. Auto-generation for shared sources was first introduced with ad80c4a3220b ("kbuild, tools: generate wrapper C sources automatically by Makefile"). Cleanup later regressed (see Fixes:), beca