From dc0a1a08ac98fc577b24b967d0d94a309bdb25a2 Mon Sep 17 00:00:00 2001
From: Marek Vasut <marex@denx.de>
Date: Thu, 11 Feb 2016 13:59:46 +0100
Subject: [PATCH] arm: socfpga: Add missing CONFIG_BUILD_TARGET

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@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Chin Liang See <clsee@altera.com>
Cc: Denis Bakhvalov <denis.bakhvalov@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 8de0ab9046..0501bd110a 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.39.5