From: Rabin VINCENT Date: Wed, 14 Apr 2010 17:51:37 +0530 Subject: [U-Boot] [PATCH 1/2] Allow SOC to be two-levels deep inside CPU In-Reply-To: <20100414101811.B9A9FE85054@gemini.denx.de> References: <1271238797-14117-1-git-send-email-rabin.vincent@stericsson.com> <20100414101811.B9A9FE85054@gemini.denx.de> Message-ID: <20100414122137.GA18265@bnru02.bnr.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Apr 14, 2010 at 12:18:11PM +0200, Wolfgang Denk wrote: > In message <1271238797-14117-1-git-send-email-rabin.vincent@stericsson.com> you wrote: > > +SOCDIR = $(CPUDIR)/$(SOC) > > +ifdef SUBCPU > > +SOCDIR = $(CPUDIR)/$(SUBCPU)/$(SOC) > > +endif > > Using an `ifdef' / `else' / `endif' would seem more logical to me. Updated patch below. Rabin