mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 20:30:01 +00:00 
			
		
		
		
	 1248a15965
			
		
	
	
		1248a15965
		
	
	
	
	
		
			
			Commit eed56e9a89 "configure, meson: move config-poison.h to meson"
lost a "| sort -u".  Restore it.  config-poison shrinks from ~4500 to
~700 lines when all targets are enabled.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230206102037.3621709-1-armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
	
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			377 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			377 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #! /bin/sh
 | |
| 
 | |
| if test $# = 0; then
 | |
|   exit 0
 | |
| fi
 | |
| 
 | |
| # Create list of config switches that should be poisoned in common code...
 | |
| # but filter out CONFIG_TCG and CONFIG_USER_ONLY which are special.
 | |
| exec sed -n \
 | |
|   -e' /CONFIG_TCG/d' \
 | |
|   -e '/CONFIG_USER_ONLY/d' \
 | |
|   -e '/^#define / {' \
 | |
|   -e    's///' \
 | |
|   -e    's/ .*//' \
 | |
|   -e    's/^/#pragma GCC poison /p' \
 | |
|   -e '}' "$@" | sort -u
 |