Introduce CONFIG_SPL_NO_CPU_SUPPORT_CODE to avoid compiling the CPU support
library. This can be useful on some setups.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Detlev Zundel <[email protected]>
Cc: Scott Wood <[email protected]>
---
 spl/Makefile |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/spl/Makefile b/spl/Makefile
index 91dd11a..fc9360f 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -18,6 +18,11 @@
 CONFIG_SPL_BUILD := y
 export CONFIG_SPL_BUILD
 
+# In case we want to avoid the CPU support code, we need to define this:
+ifdef CONFIG_SPL_NO_CPU_SUPPORT_CODE
+export CONFIG_SPL_NO_CPU_SUPPORT_CODE
+endif
+
 include $(TOPDIR)/config.mk
 
 # We want the final binaries in this directory
-- 
1.7.6.3

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to