diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2011-12-24 13:07:25 +0000 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-01-06 15:07:14 +0000 |
| commit | 359bc95d3e604e22fe07be62f5099148a2bb4e6f (patch) | |
| tree | c97d8711b1dc77815a5c8abc2f719910f1cf4c80 /net/socket.c | |
| parent | a2c80be948eef747d91ad135574a3277698712b9 (diff) | |
| download | focaccia-qemu-359bc95d3e604e22fe07be62f5099148a2bb4e6f.tar.gz focaccia-qemu-359bc95d3e604e22fe07be62f5099148a2bb4e6f.zip | |
configure: Fix test for supported host CPU type
The test for whether the host CPU is supported had several problems: * the attempt to fall back to TCI was done as a duplicate test, very late (so "--cpu foo" would fail early but "--cpu unicore32" would fail late, differently, and after configure had already printed a lot of output) * a number of CPUs only supported as guests were included in the list of CPUs we would accept as valid hosts, which would result in a late compile failure on those systems rather than a configure failure or fallback to TCI * bailing out for an unsupported CPU happened before the main option parsing, so "configure --help" wouldn't work Fix these by folding the setting of ARCH into the first test for supported host CPU, removing spurious guest-only CPU names from it, and moving the "fall back to TCI" code earlier. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions