[U-Boot] [PATCH] arm: socfpga: Add missing CONFIG_BUILD_TARGET

Marek Vasut marex at denx.de
Thu Feb 11 14:02:27 CET 2016


Add the missing CONFIG_BUILD_TARGET to get u-boot-with-spl.sfp built
automatically upon running make in the source tree.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
Cc: Chin Liang See <clsee at altera.com>
Cc: Denis Bakhvalov <denis.bakhvalov at nokia.com>
---
 include/configs/socfpga_common.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 8de0ab9..0501bd1 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -30,6 +30,9 @@
 
 #define CONFIG_TIMESTAMP		/* Print image info with timestamp */
 
+/* add target to build it automatically upon "make" */
+#define CONFIG_BUILD_TARGET		"u-boot-with-spl.sfp"
+
 /*
  * Memory configurations
  */
-- 
2.1.4



More information about the U-Boot mailing list