mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
linux-user: remove configure option for setting uname release
--enable-uname-release was a rather heavyweight hammer, as it allows providing values less that UNAME_MINIMUM_RELEASE. Also, it affects all built linux-user targets, which in most cases is not what user wants. Now that we have UNAME_MINIMUM_RELEASE for all linux-user platforms, we can drop --enable-uname-release and the related CONFIG_UNAME_RELEASE define. Users can still override the variable with QEMU_UNAME=2.6.32 or -r command line option. If distributors need to update a minimum version for a specific target, it can be done by updating UNAME_MINIMUM_RELEASE. Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
parent
6d30db19ca
commit
e586822a58
3 changed files with 1 additions and 11 deletions
|
@ -155,7 +155,6 @@ void init_qemu_uname_release(void)
|
|||
* a specific fake version number, we might want to fake a minimum
|
||||
* target kernel version.
|
||||
*/
|
||||
#ifdef UNAME_MINIMUM_RELEASE
|
||||
struct new_utsname buf;
|
||||
|
||||
if (qemu_uname_release && *qemu_uname_release) {
|
||||
|
@ -169,5 +168,4 @@ void init_qemu_uname_release(void)
|
|||
if (relstr_to_int(buf.release) < relstr_to_int(UNAME_MINIMUM_RELEASE)) {
|
||||
qemu_uname_release = UNAME_MINIMUM_RELEASE;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue