repo.or.cz
/
qemu
/
ar7.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
target/i386: reimplement 0x0f 0x78-0x7f, add AVX
[qemu/ar7.git]
/
scripts
/
make-config-poison.sh
blob
d222a04304352e95ad2b7af20018fc5f769b3f27
1
#! /bin/sh
2
3
if
test
$#
=
0
;
then
4
exit
0
5
fi
6
7
# Create list of config switches that should be poisoned in common code...
8
# but filter out CONFIG_TCG and CONFIG_USER_ONLY which are special.
9
exec
sed
-n
\
10
-e
' /CONFIG_TCG/d'
\
11
-e
'/CONFIG_USER_ONLY/d'
\
12
-e
'/^#define / {'
\
13
-e
's///'
\
14
-e
's/ .*//'
\
15
-e
's/^/#pragma GCC poison /p'
\
16
-e
'}'
"$@"