X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=config.mk;h=64c2951ac1eb1e6942d5bb5b3100cb871d4ef34a;hb=601fbec7cf815bc2b26ba2546ac5e8501fc7edae;hp=b4bf6f95d33735b9caeaabccbe479638731a5b09;hpb=51148790f26e42ef1fd4a1a8d056bf0252539525;p=u-boot diff --git a/config.mk b/config.mk index b4bf6f95d3..64c2951ac1 100644 --- a/config.mk +++ b/config.mk @@ -18,6 +18,8 @@ PLATFORM_LDFLAGS := LDFLAGS := LDFLAGS_FINAL := OBJCOPYFLAGS := +# clear VENDOR for tcsh +VENDOR := ######################################################################### ARCH := $(CONFIG_SYS_ARCH:"%"=%) @@ -53,6 +55,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)