2018-06-14 5:36 GMT+09:00 Sam Ravnborg <s...@ravnborg.org>: >> >> > +macros: $(obj)/macros.s >> > + @: >> >> If you add a phony target, it should be added to 'PHONY'. > > Or this part: >> +archmacros: >> + $(Q)$(MAKE) $(build)=arch/x86/kernel macros > > could be modified to specify the exact filename so this indirection is not > needed.
Yes, it could work. Actually, two styles co-exist in arch/x86/Makefile. (archprepare vs archscripts) -- Best Regards Masahiro Yamada