]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: UniPhier: do not compile unnecessary objects
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 5 Feb 2015 05:42:58 +0000 (14:42 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:59:08 +0000 (12:59 +0200)
commita91e507ba60de71f3f71efe7046f3941a68d6f9f
treece7ce0cf96b2044fd940d79c5dcc86b076e3aab8
parent9aef57274f61323b38c95f4caf63c523ceae4d6c
ARM: UniPhier: do not compile unnecessary objects

It is true that unused functions are removed from the ELF image
by the compiler's garbage collection but relying on it too much
does not look nice.
Currently, the build is taking more than it should.

Refactor the makefiles to compile only files that are really needed.
CONFIG_SOC_INIT and CONFIG_DRAM_INIT are no longer needed by the
optimization.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/arm/cpu/armv7/uniphier/Kconfig
arch/arm/cpu/armv7/uniphier/Makefile
arch/arm/cpu/armv7/uniphier/ph1-ld4/Makefile
arch/arm/cpu/armv7/uniphier/ph1-pro4/Makefile
arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile