From e29ad970f10c68f93c900810ee184ccf0cee7d91 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 2 Nov 2011 23:49:03 -0400 Subject: [PATCH] Blackfin: cache result of cpp check Avoid overhead of computing this value multiple times. Signed-off-by: Mike Frysinger --- arch/blackfin/config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)