> On 24 Jun 2022, at 17:04, Anthony PERARD <[email protected]> wrote: > > Rework dependencies of all objects. We don't need to add dependencies > for headers that $(CC) is capable of generating, we only need to > include $(DEPS_INCLUDE). Some dependencies are still needed so make > knows to generate symlinks for them. > > We remove the use of "vpath" for cpuid.c. While it works fine for now, > when we will convert this makefile to subdirmk, vpath will not be > usable. Also, "-iquote" is now needed to build "cpuid.o". > > Replace "-I." by "-iquote .", so it applies to double-quote includes > only. > > Rather than checking if a symlink exist, always regenerate the > symlink. So if the source tree changed location, the symlink is > updated. > > Since we are creating a new .gitignore for the symlink, also move the > entry to it. > > Signed-off-by: Anthony PERARD <[email protected]> > —
Hi Antony, Reviewed-by: Luca Fancellu <[email protected]>
