From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 26 Feb 2016 12:17:08 -0500 Subject: [U-Boot] [PATCH 7/9] Allow command code to compile to nothing In-Reply-To: <1456459256-32643-8-git-send-email-sjg@chromium.org> References: <1456459256-32643-1-git-send-email-sjg@chromium.org> <1456459256-32643-8-git-send-email-sjg@chromium.org> Message-ID: <20160226171708.GE23166@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 Thu, Feb 25, 2016 at 09:00:54PM -0700, Simon Glass wrote: > When CONFIG_CMDLINE is disabled we need to remove all the command-line > code. Most can be removed by dropping the appropriate linker lists from the > images, but sub-commands must be dealt with specially. > > A simple mechanism is used to avoid 'unused static function' errors. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: