]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
beagleboard.conf: fix hardcode of virtual/xserver
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 10 Apr 2012 01:20:08 +0000 (09:20 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Apr 2012 11:10:14 +0000 (12:10 +0100)
Here is the message from the bug 2260:

meta-yocto/conf/machine/beagleboard.conf hardcodes the virtual/xserver
provider, i.e., it includes the following:

PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg-lite"

I don't think machine conf is the correct place for selecting what is
essentially a distro feature, but at least this should use the '?='
operator; as is to select a different provider one must provide a
complete beagleboard.conf file.

[YOCTO #2260]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta-yocto/conf/machine/beagleboard.conf

index fa2f8e7a550a96d0215d53ecd6a7769319685535..06a0ecd388dcfaaece7d60f973ec0d7e142a091e 100644 (file)
@@ -2,8 +2,8 @@
 #@NAME: Beagleboard machine
 #@DESCRIPTION: Machine configuration for the http://beagleboard.org/ board 
 
-PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg-lite"
-XSERVER = "xserver-xorg-lite \
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg-lite"
+XSERVER ?= "xserver-xorg-lite \
            xf86-input-evdev \
            xf86-input-mouse \
            xf86-video-omapfb \