Commit 997344f303a7a7d5c0e21c2a90ada350da2be8f9
1 parent
16e9b7de
added i386 user only target
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@404 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
9 additions
and
1 deletions
configure
| ... | ... | @@ -27,7 +27,7 @@ ar="ar" |
| 27 | 27 | make="make" |
| 28 | 28 | strip="strip" |
| 29 | 29 | cpu=`uname -m` |
| 30 | -target_list="i386 i386-softmmu arm sparc" | |
| 30 | +target_list="i386-user i386 i386-softmmu arm-user sparc-user" | |
| 31 | 31 | case "$cpu" in |
| 32 | 32 | i386|i486|i586|i686|i86pc|BePC) |
| 33 | 33 | cpu="i386" |
| ... | ... | @@ -324,6 +324,10 @@ target_softmmu="no" |
| 324 | 324 | if expr $target : '.*-softmmu' > /dev/null ; then |
| 325 | 325 | target_softmmu="yes" |
| 326 | 326 | fi |
| 327 | +target_user_only="no" | |
| 328 | +if expr $target : '.*-user' > /dev/null ; then | |
| 329 | + target_user_only="yes" | |
| 330 | +fi | |
| 327 | 331 | |
| 328 | 332 | echo "Creating $config_mak, $config_h and $target_dir/Makefile" |
| 329 | 333 | |
| ... | ... | @@ -364,6 +368,10 @@ if test "$target_softmmu" = "yes" ; then |
| 364 | 368 | echo "CONFIG_SOFTMMU=yes" >> $config_mak |
| 365 | 369 | echo "#define CONFIG_SOFTMMU 1" >> $config_h |
| 366 | 370 | fi |
| 371 | +if test "$target_user_only" = "yes" ; then | |
| 372 | + echo "CONFIG_USER_ONLY=yes" >> $config_mak | |
| 373 | + echo "#define CONFIG_USER_ONLY 1" >> $config_h | |
| 374 | +fi | |
| 367 | 375 | |
| 368 | 376 | done # for target in $targets |
| 369 | 377 | ... | ... |