projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7abcd0c
)
armv8: fsl-layerscape: SPL size reduction
author
Sumit Garg
<sumit.garg@nxp.com>
Sat, 6 Jan 2018 03:34:23 +0000
(09:04 +0530)
committer
York Sun
<york.sun@nxp.com>
Wed, 10 Jan 2018 20:31:19 +0000
(12:31 -0800)
Compile-off mp.c and libfdt.c in case of SPL build. SPL size reduces
by approx 2k.
Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/Makefile
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/fsl-layerscape/Makefile
b/arch/arm/cpu/armv8/fsl-layerscape/Makefile
index 115c3fc1d14cea112da26201f28bccb2465b1280..0cb6d4eb4df6cb754041cf3d30f6b68d2640353b 100644
(file)
--- a/
arch/arm/cpu/armv8/fsl-layerscape/Makefile
+++ b/
arch/arm/cpu/armv8/fsl-layerscape/Makefile
@@
-7,8
+7,10
@@
obj-y += cpu.o
obj-y += lowlevel.o
obj-y += soc.o
+ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_MP) += mp.o
obj-$(CONFIG_OF_LIBFDT) += fdt.o
+endif
obj-$(CONFIG_SPL) += spl.o
obj-$(CONFIG_$(SPL_)FSL_LS_PPA) += ppa.o