mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 12:07:31 +00:00 
			
		
		
		
	 eed56e9a89
			
		
	
	
		eed56e9a89
		
	
	
	
	
		
			
			This ensures that the file is regenerated properly whenever config-target.h or config-devices.h files change. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			17 lines
		
	
	
		
			367 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			367 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 '}' "$@"
 |