Re: [PATCH v4 1/9] Makefile: Prepare for using macros for inline asm

From: Masahiro Yamada
Date: Sat Jun 16 2018 - 20:49:06 EST


2018-06-14 5:36 GMT+09:00 Sam Ravnborg <sam@xxxxxxxxxxxx>:
>>
>> > +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