[U-Boot] [PATCH 2/2] kbuild: create symbolic link only for ARM, SPARC, PowerPC, x86

Masahiro Yamada yamada.masahiro at socionext.com
Tue May 26 11:14:09 CEST 2015


Hi Michal (Marek),

2015-05-26 16:14 GMT+09:00 Michal Marek <mmarek at suse.cz>:
> Dne 26.5.2015 v 14:32 Masahiro Yamada napsal(a):
>> The symbolic link to SoC/CPU specific header directory is created
>> during the build, while it is only necessary for ARM, SPARC, x86,
>> and some CPUs of PowerPC.  For the other architectures, it just
>> results in a broken symbolic link.
>>
>> Introduce CONFIG_CREATE_ARCH_SYMLINK to not create unneeded symbolic
>> links.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
>> ---
>>
>>  arch/Kconfig              | 6 ++++++
>>  arch/powerpc/Kconfig      | 3 +++
>>  scripts/Makefile.autoconf | 2 ++
>>  3 files changed, 11 insertions(+)
> [...]
>> diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf
>> index f054081..a17e374 100644
>> --- a/scripts/Makefile.autoconf
>> +++ b/scripts/Makefile.autoconf
>> @@ -106,6 +106,7 @@ include/config.h: scripts/Makefile.autoconf create_symlink FORCE
>>  # Otherwise, create a symbolic link to arch/$(ARCH)/include/asm/arch-$(SOC).
>>  PHONY += create_symlink
>>  create_symlink:
>> +ifeq ($(CONFIG_CREATE_ARCH_SYMLINK),y)
>
> 'ifdef CONFIG_CREATE_ARCH_SYMLINK' is shorter and maybe easier to read.

OK.

> But you confused me, I thought this was a kernel patch at first :).


Sorry, it was not intentional.

U-Boot uses Kbuild and often cherry-picks kbuild-updates from Linux.
Some of your credits exists in U-boot's git history.

U-Boot also uses scripts/get_maintainer.pl,
this is why you were automatically listed in CC.


I wish I could omit a particular address from the get_maintainer.pl output...


-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list