[coreboot] Patch merged into coreboot/master: 2ed95b3 Some more #if cleanup
gerrit at coreboot.org
gerrit at coreboot.org
Tue May 8 00:40:35 CEST 2012
the following patch was just integrated into master:
commit 2ed95b35bda47a1ee4c0e88b95ad6ee306572e84
Author: Patrick Georgi <patrick at georgi-clan.de>
Date: Sat May 5 15:50:17 2012 +0200
Some more #if cleanup
Replace #elif (CONFIG_FOO==1) with #elif CONFIG_FOO
find src -type f -exec sed -i "s,\(#.*\)(\(CONFIG_[A-Z0-9_]*\)[[:space:]]*==[[:space:]]1),\1\2,g" {} +
(manual tweak since it hit a false positive)
Replace #elif (CONFIG_FOO==0) with #elif !CONFIG_FOO
find src -type f -exec sed -i "s,\(#.*\)(\(CONFIG_[A-Z0-9_]*\)[[:space:]]*==[[:space:]]0),\1\!\2,g" {} +
Change-Id: I8f4ebf609740dfc53e79d5f1e60f9446364bb07d
Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
Build-Tested: build bot (Jenkins) at Sun May 6 10:57:07 2012, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer at coreboot.org> at Tue May 8 00:38:06 2012, giving +2
See http://review.coreboot.org/1006 for details.
-gerrit
More information about the coreboot
mailing list