From 0b3b717470c02013d692e8055efae7d64334a448 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Wed, 18 Apr 2012 16:55:48 -0300 Subject: create_config: simplify prefix=* block, remove CONFIG_QEMU_PREFIX As now that block handles only the prefix variable, the code can be much simpler. This also removes the CONFIG_QEMU_PREFIX define as it is not used by any C code. Signed-off-by: Eduardo Habkost Signed-off-by: Anthony Liguori --- scripts/create_config | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'scripts/create_config') diff --git a/scripts/create_config b/scripts/create_config index 1d06eb1ce1..c471e8caf9 100755 --- a/scripts/create_config +++ b/scripts/create_config @@ -23,13 +23,8 @@ case $line in eval "$name=\$define_value" ;; prefix=*) - name=${line%=*} - value=${line#*=} - define_name=`echo $name | LC_ALL=C tr '[a-z]' '[A-Z]'` - eval "define_value=\"$value\"" - echo "#define CONFIG_QEMU_$define_name \"$define_value\"" # save for the next definitions - eval "$name=\$define_value" + prefix=${line#*=} ;; CONFIG_AUDIO_DRIVERS=*) drivers=${line#*=} -- cgit v1.2.1