From: Wolfgang Denk Date: Wed, 14 Apr 2010 12:18:11 +0200 Subject: [U-Boot] [PATCH 1/2] Allow SOC to be two-levels deep inside CPU In-Reply-To: <1271238797-14117-1-git-send-email-rabin.vincent@stericsson.com> References: <1271238797-14117-1-git-send-email-rabin.vincent@stericsson.com> Message-ID: <20100414101811.B9A9FE85054@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Rabin Vincent, In message <1271238797-14117-1-git-send-email-rabin.vincent@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