From: Martin Jansa Date: Fri, 7 Oct 2011 16:43:30 +0000 (+0200) Subject: xserver-xorg: move shared EXTRA_OECONF entries to shared .inc X-Git-Tag: rev_ivi_2015_02_04~20214 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7bd0c0aeee80aacfced9bcb9ed372082490efff8;p=scm%2Fbb%2Ftizen-distro.git xserver-xorg: move shared EXTRA_OECONF entries to shared .inc * after this xserver-xorg-lite.inc is disabling only dri/glx and xserver-xorg.inc is forcing dri/dri2 enabled the rest is defined in xserver-xorg-common.inc (From OE-Core rev: eb381e05ff24ee2fed0b4e9675bd01dce662da07) Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc index 77c3761..0cc3dc0 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc @@ -94,7 +94,26 @@ FILES_${PN}-module-xaa = "${libdir}/xorg/modules/libxaa.so" FILES_${PN}-module-libxf1bpp = "${libdir}/xorg/modules/libxf1bpp.so" FILES_${PN}-module-libxf4bpp = "${libdir}/xorg/modules/libxf4bpp.so" -EXTRA_OECONF = "--with-fop=no" +EXTRA_OECONF += "--with-fop=no \ + --disable-static \ + --disable-acfb \ + --disable-ccfb \ + --disable-mcfb \ + --disable-dga \ + --disable-xinerama \ + --disable-xf86misc \ + --disable-xorgcfg \ + --disable-record \ + --disable-dmx \ + --disable-xnest \ + --disable-xvfb \ + --enable-composite \ + --sysconfdir=/etc/X11 \ + --localstatedir=/var \ + --with-fontdir=${datadir}/fonts/X11 \ + --with-xkb-output=/var/lib/xkb \ + ac_cv_file__usr_share_sgml_X11_defs_ent=no \ +" PACKAGECONFIG ??= "udev" PACKAGECONFIG[hal] = "--enable-config-hal,--disable-config-hal,,hal" diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg-lite.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg-lite.inc index b82d153..be84e9e 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg-lite.inc +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg-lite.inc @@ -1,22 +1,6 @@ require xserver-xorg-common.inc -EXTRA_OECONF += "--disable-static \ - --disable-acfb \ - --disable-ccfb \ - --disable-mcfb \ - --disable-dga \ - --disable-xinerama \ - --disable-xf86misc \ - --disable-xorgcfg \ - --disable-record \ - --disable-dmx \ - --disable-xnest \ - --disable-xvfb \ - --enable-composite \ +EXTRA_OECONF += "\ --disable-dri \ --disable-glx \ - --sysconfdir=/etc/X11 \ - --localstatedir=/var \ - --with-fontdir=${datadir}/fonts/X11 \ - --with-xkb-output=/var/lib/xkb \ - ac_cv_file__usr_share_sgml_X11_defs_ent=no" +" diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc index 726fbaa..f734873 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc @@ -5,26 +5,12 @@ LIB_DEPS += "virtual/libgl" require ../mesa/glx-use-tls.inc -EXTRA_OECONF += "--disable-static \ - --disable-acfb \ - --disable-ccfb \ - --disable-mcfb \ - --disable-dga \ - --disable-xinerama \ - --disable-xf86misc \ - --disable-xorgcfg \ - --disable-record \ - --disable-dmx \ - --disable-xnest \ - --disable-xvfb \ - --enable-composite \ - --sysconfdir=/etc/X11 \ - --localstatedir=/var \ +EXTRA_OECONF += "\ + --enable-dri \ + --enable-dri2 \ --with-pic \ --with-int10=x86emu \ - --with-fontdir=${datadir}/fonts/X11 \ - --with-xkb-output=/var/lib/xkb \ - ac_cv_file__usr_share_sgml_X11_defs_ent=no" +" # Due to mesa-dri COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'