Skip to content
Snippets Groups Projects
Commit dcb081ba authored by Sumit Garg's avatar Sumit Garg Committed by York Sun
Browse files

armv8: fsl-layerscape: SPL size reduction


Compile-off mp.c and libfdt.c in case of SPL build. SPL size reduces
by approx 2k.

Signed-off-by: default avatarSumit Garg <sumit.garg@nxp.com>
Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
parent 7abcd0c0
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,10 @@ ...@@ -7,8 +7,10 @@
obj-y += cpu.o obj-y += cpu.o
obj-y += lowlevel.o obj-y += lowlevel.o
obj-y += soc.o obj-y += soc.o
ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_MP) += mp.o obj-$(CONFIG_MP) += mp.o
obj-$(CONFIG_OF_LIBFDT) += fdt.o obj-$(CONFIG_OF_LIBFDT) += fdt.o
endif
obj-$(CONFIG_SPL) += spl.o obj-$(CONFIG_SPL) += spl.o
obj-$(CONFIG_$(SPL_)FSL_LS_PPA) += ppa.o obj-$(CONFIG_$(SPL_)FSL_LS_PPA) += ppa.o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment