Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP1:Update
qemu-linux-user.26284
0141-Makefile-generate-header-file-with-.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0141-Makefile-generate-header-file-with-.patch of Package qemu-linux-user.26284
From: "Cho, Yu-Chen" <acho@suse.com> Date: Thu, 21 Jan 2021 01:08:54 +0800 Subject: Makefile: generate header file with the list of devices enabled Include-If: %if 0%{?suse_version} == 1315 Git-commit: 6c22ea9d83ca91a3f5453d2699381a901f144ab5 References: bsc#1179725 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> Signed-off-by: Cho, Yu-Chen <acho@suse.com> --- Makefile.target | 4 ++++ scripts/create_config | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Makefile.target b/Makefile.target index c85327169f9d4ec02c10e3497492..01cf9c0b780f1a4b6c8da6ee5519 100644 --- a/Makefile.target +++ b/Makefile.target @@ -48,6 +48,9 @@ endif config-target.h: config-target.h-timestamp config-target.h-timestamp: config-target.mak +config-devices.h: config-devices.h-timestamp +config-devices.h-timestamp: config-devices.mak + ifdef CONFIG_TRACE_SYSTEMTAP stap: $(QEMU_PROG).stp-installed $(QEMU_PROG).stp $(QEMU_PROG)-simpletrace.stp @@ -161,6 +164,7 @@ obj-y += hw/$(TARGET_BASE_ARCH)/ endif GENERATED_FILES += hmp-commands.h hmp-commands-info.h +GENERATED_FILES += config-devices.h endif # CONFIG_SOFTMMU diff --git a/scripts/create_config b/scripts/create_config index d727e5e36e1694bdeb1bfb204c2c..00e86c82b07a226e3ef373f6008d 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#*=}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor