From: Tom Rini Date: Thu, 6 Apr 2017 12:26:29 -0400 Subject: [U-Boot] [U-Boot, v2, 3/5] Makefile: Provide an option to select SPL or TPL In-Reply-To: <20170402155032.27473-4-sjg@chromium.org> References: <20170402155032.27473-4-sjg@chromium.org> Message-ID: <20170406162629.GY19897@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Apr 02, 2017 at 09:50:30AM -0600, Simon Glass wrote: > At present we have SPL_ which can be used in Makefiles to select between > normal and SPL CONFIGs like this: > > obj-$(CONFIG_$(SPL_)DM) += core/ > > When TPL is being built, SPL_ has the value 'SPL' which is generally a > good idea since they tend to follow each other. But in extreme situations > we may want to distinugish between SPL and TPL. For example we may not > want to enable CONFIG_DM with TPL. > > Add a new SPL_TPL_ variable which is set to either empty (for U-Boot > proper), 'SPL' or 'TPL'. This may prove useful with TPL-specific options. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: