commit | 993c30a04e205fb239c0875b25b43ddef0499845 | [log] [tgz] |
---|---|---|
author | Matt Fleming <matt.fleming@intel.com> | Thu Aug 01 14:18:49 2013 +0100 |
committer | Matt Fleming <matt.fleming@intel.com> | Tue Mar 04 21:23:35 2014 +0000 |
tree | 335934b76f4aa6b2ed1de688033a41d03e6ad62d | |
parent | 86134a1b39fd056a7b6778608a5882f0ea1bc705 [diff] |
x86, tools: Consolidate #ifdef code Instead of littering main() with #ifdef CONFIG_EFI_STUB, move the logic into separate functions that do nothing if the config option isn't set. This makes main() much easier to read. Acked-by: Borislav Petkov <bp@suse.de> Signed-off-by: Matt Fleming <matt.fleming@intel.com>