Merge branch 'master' of git://www.denx.de/git/u-boot-sh
[oweals/u-boot.git] / Makefile
index e40dfb0425fad38a538c0e4293e8ecfd3f9f2250..4519ac05d9ade2fec8f8f1dea73a6c1e751ec7f1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -152,6 +152,9 @@ endif
 ifeq ($(ARCH),avr32)
 CROSS_COMPILE = avr32-linux-
 endif
+ifeq ($(ARCH),sh)
+CROSS_COMPILE = sh4-linux-
+endif
 endif
 endif
 
@@ -2668,6 +2671,23 @@ atstk1004_config :       unconfig
 #########################################################################
 #########################################################################
 
+#########################################################################
+## sh4 (Renesas SuperH)
+#########################################################################
+ms7750se_config: unconfig
+       @ >include/config.h
+       @echo "#define CONFIG_MS7750SE 1" >> include/config.h
+       @./mkconfig -a $(@:_config=) sh sh4 ms7750se
+
+ms7722se_config :       unconfig
+       @ >include/config.h
+       @echo "#define CONFIG_MS7722SE 1" >> include/config.h
+       @./mkconfig -a $(@:_config=) sh sh4 ms7722se
+
+#########################################################################
+#########################################################################
+#########################################################################
+
 clean:
        find $(OBJTREE) -type f \
                \( -name 'core' -o -name '*.bak' -o -name '*~' \