aboutsummaryrefslogtreecommitdiff
path: root/scripts/create_config
diff options
context:
space:
mode:
authorJulio Montes <julio.montes@intel.com>2019-07-05 14:35:53 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2019-07-05 22:19:58 +0200
commit6c22ea9d83ca91a3f5453d2699381a901f144ab5 (patch)
treeff328fbedc8f6377de79bfb4a06fe30d3a653db3 /scripts/create_config
parentec7b1bbd2c470d8766b61617bd4d8ba46aa2056b (diff)
Makefile: generate header file with the list of devices enabled
v2: generate config-devices.h which contains the list of devices enabled Message-Id: <20190705143554.10295-1-julio.montes@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Julio Montes <julio.montes@intel.com>
Diffstat (limited to 'scripts/create_config')
-rwxr-xr-xscripts/create_config2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/create_config b/scripts/create_config
index d727e5e36e..00e86c82b0 100755
--- a/scripts/create_config
+++ b/scripts/create_config
@@ -58,6 +58,8 @@ case $line in
name=${line%=*}
echo "#define $name 1"
;;
+ CONFIG_*=n) # configuration
+ ;;
CONFIG_*=*) # configuration
name=${line%=*}
value=${line#*=}