X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=config.mk;h=6282919482bc8b8cc7c879e44e3814858573fa9a;hb=e20c9c78846c380649352a6b661bc17de82555f6;hp=b4bf6f95d33735b9caeaabccbe479638731a5b09;hpb=51148790f26e42ef1fd4a1a8d056bf0252539525;p=karo-tx-uboot.git diff --git a/config.mk b/config.mk index b4bf6f95d3..6282919482 100644 --- a/config.mk +++ b/config.mk @@ -18,10 +18,17 @@ PLATFORM_LDFLAGS := LDFLAGS := LDFLAGS_FINAL := OBJCOPYFLAGS := +# clear VENDOR for tcsh +VENDOR := ######################################################################### ARCH := $(CONFIG_SYS_ARCH:"%"=%) CPU := $(CONFIG_SYS_CPU:"%"=%) +ifdef CONFIG_SPL_BUILD +ifdef CONFIG_TEGRA +CPU := arm720t +endif +endif BOARD := $(CONFIG_SYS_BOARD:"%"=%) ifneq ($(CONFIG_SYS_VENDOR),) VENDOR := $(CONFIG_SYS_VENDOR:"%"=%) @@ -53,6 +60,15 @@ ifdef BOARD sinclude $(srctree)/board/$(BOARDDIR)/config.mk # include board specific rules endif +ifdef FTRACE +PLATFORM_CPPFLAGS += -finstrument-functions -DFTRACE +endif + +# Allow use of stdint.h if available +ifneq ($(USE_STDINT),) +PLATFORM_CPPFLAGS += -DCONFIG_USE_STDINT +endif + ######################################################################### RELFLAGS := $(PLATFORM_RELFLAGS)