From 3b15208ee049f28a7ec5ca37714360132365e02e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com> Date: Tue, 23 Apr 2013 14:31:58 +0200 Subject: [PATCH] Use slapos.recipe.cmmi new features to detect plaftorm if possible. --- component/qemu-kvm/buildout.cfg | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/component/qemu-kvm/buildout.cfg b/component/qemu-kvm/buildout.cfg index d3106c44..7a212448 100644 --- a/component/qemu-kvm/buildout.cfg +++ b/component/qemu-kvm/buildout.cfg @@ -20,7 +20,6 @@ md5sum = b56e73bdcfdb214d5c68e13111aca96f depends = ${libpng:so_version} configure-options = - --target-list="x86_64-softmmu i386-softmmu" --enable-system --with-system-pixman --disable-sdl @@ -41,3 +40,14 @@ environment = PATH=${pkgconfig:location}/bin:%(PATH)s PKG_CONFIG_PATH=${gnutls:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${pixman:location}/lib/pkgconfig LDFLAGS=-L${pixman:location}/lib -Wl,-rpath=${pixman:location}/lib + +[amd64-linux-kvm] +configure-options = + --target-list=x86_64-softmmu + ${kvm:configure-options} + +[x86-linux-kvm] +configure-options = + --target-list=i386-softmmu + ${kvm:configure-options} + -- 2.30.9