From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 08 Jul 2011 11:08:38 +0200 Subject: [U-Boot] [RFC PATCH 1/4] Adapt config.mk for usage in spl/Makefile In-Reply-To: <1309883182-12854-2-git-send-email-daniel.schwierzeck@googlemail.com> References: <1309352967-5719-1-git-send-email-aneesh@ti.com> <1309883182-12854-1-git-send-email-daniel.schwierzeck@googlemail.com> <1309883182-12854-2-git-send-email-daniel.schwierzeck@googlemail.com> Message-ID: <20110708090838.E92A9126F38F@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 Daniel Schwierzeck, In message <1309883182-12854-2-git-send-email-daniel.schwierzeck@googlemail.com> you wrote: > [aneesh at ti.com: > 1. Changed the definition of OBJTREE and the way 'obj' is defined. > 2. Defined a flag to identify regular U-Boot build > 3. Taking care of autoconf.mk etc for SPL due to changed OBJTREE > ] > > [daniel.schwierzeck at googlemail.com: > 1. reverted changes on implicite make rules > 2. readded definition of -DCONFIG_UBOOT_SPL_BUILD in CPPFLAGS > ] ... > +# Allow compiling of C and ASM code parts in different way. > +# Serves also as a replacement for CONFIG_PRELOADER. > +ifneq ($(CONFIG_UBOOT_SPL_BUILD),) > +CPPFLAGS += -DCONFIG_UBOOT_SPL_BUILD > +endif I don't understand this comment. > +CONFIG_NORMAL_UBOOT = $(if $(CONFIG_UBOOT_SPL_BUILD),,y) Is this not redundant, then? 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 "In Christianity neither morality nor religion come into contact with reality at any point." - Friedrich Nietzsche