From: Mike Frysinger Date: Thu, 3 Nov 2011 03:49:03 +0000 (-0400) Subject: Blackfin: cache result of cpp check X-Git-Tag: v2011.12-rc1~157^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e29ad970f10c68f93c900810ee184ccf0cee7d91;p=u-boot Blackfin: cache result of cpp check Avoid overhead of computing this value multiple times. Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/config.mk b/arch/blackfin/config.mk index f9d46de231..3595aa2a99 100644 --- a/arch/blackfin/config.mk +++ b/arch/blackfin/config.mk @@ -48,9 +48,10 @@ ALL-y += $(obj)u-boot.ldr endif ifeq ($(CONFIG_ENV_IS_EMBEDDED_IN_LDR),y) CREATE_LDR_ENV = $(obj)tools/envcrc --binary > $(obj)env-ldr.o -HOSTCFLAGS_NOPED += \ +HOSTCFLAGS_NOPED_ADSP := \ $(shell $(CPP) -dD - -mcpu=$(CONFIG_BFIN_CPU)