unicore32: simplify linker script generation for decompressor
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 8 Mar 2019 05:30:35 +0000 (14:30 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 13 Mar 2019 17:39:11 +0000 (02:39 +0900)
commitc649bd59b6d43998d8c408e2a2fa1922ce5d8363
tree8d8e75632df41c6ac6ff7cdff55025d4d25df77c
parentfc2b47b55f17fd996f7a01975ce1c33c2f2513f6
unicore32: simplify linker script generation for decompressor

When I was searching for unneeded $(KCONFIG_CONFIG) usages, I noticed
this strange build dependency.

It can use $(call if_changed,...) in case ZTEXTADDR and ZBSSADDR are
changed, but even a simpler way is to use the pattern rule in
scripts/Makefile.build. This is what arch/arm/boot/compressed/Makefile
does.

I did only build test. I confirmed equivalent vmlinux.lds was generated.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/unicore32/boot/compressed/Makefile
arch/unicore32/boot/compressed/vmlinux.lds.S [new file with mode: 0644]
arch/unicore32/boot/compressed/vmlinux.lds.in [deleted file]