[U-Boot] [PATCH 1/2] Allow SOC to be two-levels deep inside CPU
Wolfgang Denk
wd at denx.de
Wed Apr 14 12:18:11 CEST 2010
Dear Rabin Vincent,
In message <1271238797-14117-1-git-send-email-rabin.vincent at stericsson.com> you wrote:
>
> --- a/config.mk
> +++ b/config.mk
> @@ -119,11 +119,16 @@ ifneq ($(SRCTREE)/$(CPUDIR),$(wildcard $(SRCTREE)/$(CPUDIR)))
> CPUDIR=arch/$(ARCH)/cpu
> endif
>
> +SOCDIR = $(CPUDIR)/$(SOC)
> +ifdef SUBCPU
> +SOCDIR = $(CPUDIR)/$(SUBCPU)/$(SOC)
> +endif
Using an `ifdef' / `else' / `endif' would seem more logical to me.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Tactical? TACTICAL!?!? Hey, buddy, we went from kilotons to megatons
several minutes ago. We don't need no stinkin' tactical nukes. (By
the way, do you have change for 10 million people?) - lwall
More information about the U-Boot
mailing list