]> git.sur5r.net Git - u-boot/blobdiff - config.mk
* Patch by Greg Ungerer, 19 May 2005:
[u-boot] / config.mk
index 313761b86d6e497142bd1c72e8ab886c50a6106b..75bbac5c8d1d3d8065a4b9470c552f2ff095fd53 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -59,6 +59,9 @@ endif
 ifdef  CPU
 sinclude $(TOPDIR)/cpu/$(CPU)/config.mk        # include  CPU  specific rules
 endif
+ifdef  SOC
+sinclude $(TOPDIR)/cpu/$(CPU)/$(SOC)/config.mk # include  SoC  specific rules
+endif
 ifdef  VENDOR
 BOARDDIR = $(VENDOR)/$(BOARD)
 else
@@ -126,7 +129,7 @@ endif
 # this option have to be placed behind -Wall -- that's why it is here
 ifeq ($(ARCH),nios)
 ifeq ($(findstring 2.9,$(shell $(CC) --version)),2.9)
-CFLAGS := $(CPPFLAGS) -Wno-trigraphs
+CFLAGS := $(CPPFLAGS) -Wall -Wno-trigraphs
 endif
 endif