diff options
-rwxr-xr-x | scripts/create_config | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/create_config b/scripts/create_config index 470e05e397..f9ba2f54a9 100755 --- a/scripts/create_config +++ b/scripts/create_config @@ -13,6 +13,15 @@ case $line in pkgversion=${line#*=} echo "#define QEMU_PKGVERSION \"$pkgversion\"" ;; + qemu_*dir=*) # qemu-specific directory configuration + name=${line%=*} + value=${line#*=} + define_name=`echo $name | LC_ALL=C tr '[a-z]' '[A-Z]'` + eval "define_value=\"$value\"" + echo "#define CONFIG_$define_name \"$define_value\"" + # save for the next definitions + eval "$name=\$define_value" + ;; prefix=* | [a-z]*dir=*) # directory configuration name=${line%=*} value=${line#*=} |