X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=config.mk;h=918cffe3eb70c677c997778932c07050109a677f;hb=7c3a4f986c6a2a300ed711b2df7b62fd991feafa;hp=bad72b76892b173da27fdaa81b364e23bc8e9158;hpb=5968adc4146aac76e5597da3b52a51efb42d9179;p=oweals%2Fu-boot.git diff --git a/config.mk b/config.mk index bad72b7689..918cffe3eb 100644 --- a/config.mk +++ b/config.mk @@ -124,6 +124,7 @@ STRIP = $(CROSS_COMPILE)strip OBJCOPY = $(CROSS_COMPILE)objcopy OBJDUMP = $(CROSS_COMPILE)objdump RANLIB = $(CROSS_COMPILE)RANLIB +DTC = dtc ######################################################################### @@ -208,11 +209,13 @@ else CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes endif -CFLAGS += $(call cc-option,-fno-stack-protector) +CFLAGS_SSP := $(call cc-option,-fno-stack-protector) +CFLAGS += $(CFLAGS_SSP) # Some toolchains enable security related warning flags by default, # but they don't make much sense in the u-boot world, so disable them. -CFLAGS += $(call cc-option,-Wno-format-nonliteral) -CFLAGS += $(call cc-option,-Wno-format-security) +CFLAGS_WARN := $(call cc-option,-Wno-format-nonliteral) \ + $(call cc-option,-Wno-format-security) +CFLAGS += $(CFLAGS_WARN) # $(CPPFLAGS) sets -g, which causes gcc to pass a suitable -g # option to the assembler.