diff mbox

[U-Boot,3/3] Added Bluewater Systems Snapper 9260 and 9G20 module config to top-level Makefile

Message ID 8e07465b5eeab750a532f60303e5db5cdeab3595.1295919847.git.ryan@bluewatersys.com
State Superseded
Delegated to: Reinhard Meyer
Headers show

Commit Message

Ryan Mallon Jan. 25, 2011, 1:57 a.m. UTC
Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
---
 Makefile |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

Comments

Reinhard Meyer Jan. 25, 2011, 4:45 a.m. UTC | #1
Dear Ryan Mallon,
> Signed-off-by: Ryan Mallon<ryan@bluewatersys.com>
> ---
>   Makefile |   13 +++++++++++++
>   1 files changed, 13 insertions(+), 0 deletions(-)

New boards must be added to boards.cfg. See how it is done for
the at91sam9260ek boards in the rework branch.

Best Regards,
Reinhard
diff mbox

Patch

diff --git a/Makefile b/Makefile
index fd21ef3..7d4ba28 100644
--- a/Makefile
+++ b/Makefile
@@ -901,6 +901,19 @@  TNY_A9260_config	:	unconfig
 	@$(MKCONFIG) -n $@ -a tny_a9260 arm arm926ejs tny_a9260 calao at91
 
 ########################################################################
+## Bluewater Systems Boards
+########################################################################
+snapper9260_config \
+snapper9g20_config: unconfig
+	@mkdir -p $(obj)include
+	@if [ "$(findstring 9260, $@)" ]; then \
+		echo "#define CONFIG_SNAPPER9260 1" >> $(obj)include/config.h ; \
+	else \
+		echo "#define CONFIG_SNAPPER9G20 1" >> $(obj)include/config.h ; \
+	fi;
+	@$(MKCONFIG) -a snapper9260 arm arm926ejs snapper9260 bluewater at91
+
+########################################################################
 ## ARM Integrator boards - see doc/README-integrator for more info.
 integratorap_config	\
 ap_config		\