X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=config.mk;h=ff83091746887aad0e44a0e03113c75863f68a91;hb=4b1d95d96a39a71eddd088bb5e0e9e699035c9bf;hp=313761b86d6e497142bd1c72e8ab886c50a6106b;hpb=c40b29568232761e33400e58be86b15a167d3422;p=platform%2Fkernel%2Fu-boot.git diff --git a/config.mk b/config.mk index 313761b..ff83091 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 @@ -158,6 +161,10 @@ BFD_ROOT_DIR = /opt/powerpc endif endif +ifeq ($(PCI_CLOCK),PCI_66M) +CFLAGS := $(CFLAGS) -DPCI_66M +endif + ######################################################################### export CONFIG_SHELL HPATH HOSTCC HOSTCFLAGS CROSS_COMPILE \