From 7abc17ec2dd0c443077cbc827ad1fadbe46657b0 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 26 Aug 2013 15:36:53 +0200 Subject: xserver: move all xserver stuff in the same directory --- .../xorg-xserver/xserver-xorg_1.11.2.bbappend | 23 ---------------------- recipes/xorg-xserver/xserver-xorg_1.11.2.bbappend | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bbappend create mode 100644 recipes/xorg-xserver/xserver-xorg_1.11.2.bbappend diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bbappend deleted file mode 100644 index 6bf44ff..0000000 --- a/recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bbappend +++ /dev/null @@ -1,23 +0,0 @@ -# When Apalis T30 is used with a external NV graphics card, the binary -# only driver fails (the dynamic linker can not resolve all symbols), -# when xinerama is disabled in the X server - -# adapted from meta-fsl-arm/recipes-graphics/mesa/ -python __anonymous () { - import re - - cur_machine = d.getVar('MACHINE', True) - if cur_machine == 'apalis-t30': - # Remove --disable-xinerama from EXTRA_OECONF - extra_oeconf = d.getVar('EXTRA_OECONF', True).split() - take_out = ['--disable-xinerama'] - new_extra_oeconf = [] - for i in extra_oeconf: - if i not in take_out: - new_extra_oeconf.append(i) - - d.setVar('EXTRA_OECONF', ' '.join(new_extra_oeconf)) - - # We are now machine specific - d.setVar('PACKAGE_ARCH', d.getVar('MACHINE_ARCH')) -} diff --git a/recipes/xorg-xserver/xserver-xorg_1.11.2.bbappend b/recipes/xorg-xserver/xserver-xorg_1.11.2.bbappend new file mode 100644 index 0000000..6bf44ff --- /dev/null +++ b/recipes/xorg-xserver/xserver-xorg_1.11.2.bbappend @@ -0,0 +1,23 @@ +# When Apalis T30 is used with a external NV graphics card, the binary +# only driver fails (the dynamic linker can not resolve all symbols), +# when xinerama is disabled in the X server + +# adapted from meta-fsl-arm/recipes-graphics/mesa/ +python __anonymous () { + import re + + cur_machine = d.getVar('MACHINE', True) + if cur_machine == 'apalis-t30': + # Remove --disable-xinerama from EXTRA_OECONF + extra_oeconf = d.getVar('EXTRA_OECONF', True).split() + take_out = ['--disable-xinerama'] + new_extra_oeconf = [] + for i in extra_oeconf: + if i not in take_out: + new_extra_oeconf.append(i) + + d.setVar('EXTRA_OECONF', ' '.join(new_extra_oeconf)) + + # We are now machine specific + d.setVar('PACKAGE_ARCH', d.getVar('MACHINE_ARCH')) +} -- cgit v1.2.3