X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=config.mk;h=75bbac5c8d1d3d8065a4b9470c552f2ff095fd53;hb=e58cf2a0cfeb357faa134af1e12b96f4109af360;hp=313761b86d6e497142bd1c72e8ab886c50a6106b;hpb=c40b29568232761e33400e58be86b15a167d3422;p=u-boot diff --git a/config.mk b/config.mk index 313761b86d..75bbac5c8d 100644 --- 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