This patch unifies the use of config options in v2 to all start with CONFIG_
It's basically done with the following script and some manual fixup:
VARS=`grep ^define src/config/Options.lb | cut -f2 -d\ | grep -v ^CONFIG | grep -v ^COREBOOT |grep -v ^CC`
for VAR in $VARS; do
find . -name .svn -prune -o -type f -exec perl -pi -e "s/(^|[^0-9a-zA-Z_]+)$VAR($|[^0-9a-zA-Z_]+)/\1CONFIG_$VAR\2/g" {} \;
done
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4381 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
9702b6bf7e
commit
0867062412
863 changed files with 14663 additions and 14663 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#ifndef ASSEMBLY
|
||||
|
||||
#if HAVE_FALLBACK_BOOT == 1
|
||||
#if CONFIG_HAVE_FALLBACK_BOOT == 1
|
||||
void set_boot_successful(void);
|
||||
#else
|
||||
#define set_boot_successful()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef PART_HARD_RESET_H
|
||||
#define PART_HARD_RESET_H
|
||||
|
||||
#if HAVE_HARD_RESET == 1
|
||||
#if CONFIG_HAVE_HARD_RESET == 1
|
||||
void hard_reset(void);
|
||||
#else
|
||||
#define hard_reset() do {} while(0)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef PART_INIT_TIMER_H
|
||||
#define PART_DELAY_H
|
||||
|
||||
#if HAVE_INIT_TIMER == 1
|
||||
#if CONFIG_HAVE_INIT_TIMER == 1
|
||||
void init_timer(void);
|
||||
#else
|
||||
#define init_timer() do{} while(0)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef PART_WATCHDOG_H
|
||||
#define PART_WATCHDOG_H
|
||||
|
||||
#if USE_WATCHDOG_ON_BOOT == 1
|
||||
#if CONFIG_USE_WATCHDOG_ON_BOOT == 1
|
||||
void watchdog_off(void);
|
||||
#else
|
||||
#define watchdog_off()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue