On Mon, Jul 11, 2022 at 03:52:52PM +0200, Jan Beulich wrote: > On 24.06.2022 18:04, Anthony PERARD wrote: > > Setup proper dependencies with libacpi so we don't need to run "make > > hvmloader" in the "all" target. ("build.o" new prerequisite isn't > > exactly proper but a side effect of building the $(DSDT_FILES) is to > > generate the "ssdt_*.h" needed by "build.o".) > > Maybe leave a brief comment there?
Sounds good. > > Make use if "-iquote" instead of a plain "-I". > > > > For "roms.inc" target, use "$(SHELL)" instead of plain "sh". And use > > full path to "mkhex" instead of a relative one. Lastly, add "-f" flag > > to "mv", in case the target already exist. > > Hmm - according to my understanding -f isn't needed just because the > file may already exist. It would be needed if a pre-existing file > isn't writable. (I don't mind the addition of the flag, but I think > what you say can end up misleading.) Yes. After reading the posix doc about `mv`, the following would be better: Lastly, add "-f" flag to "mv" to avoid a prompt in case the target already exist and we don't have write permission. Thanks, -- Anthony PERARD