Patchwork [1/2] mesa-dri-glsl-native: Avoid error when running configure a second time

login
register
mail settings
Submitter Richard Purdie
Date March 12, 2012, 12:14 p.m.
Message ID <1331554485.15192.18.camel@ted>
Download mbox | patch
Permalink /patch/23023/
State Accepted
Commit 7871772c74e65ef472c5bf3776e4b3b30308bd5d
Headers show

Comments

Richard Purdie - March 12, 2012, 12:14 p.m.
This avoids the error:

ln: creating symbolic link `/media/data1/build1/poky/build/tmp/work/x86_64-linux/mesa-dri-glsl-native-7.11-r0/Mesa-7.11/src/glsl//../../configs/current': File exists

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 .../mesa/mesa-dri-glsl-native_7.11.bb              |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
index 07b0761..9194595 100644
--- a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
@@ -17,7 +17,7 @@  inherit native
 
 # use default config for native build
 do_configure_prepend() {
-	ln -s ${S}/../../configs/default ${S}/../../configs/current
+	ln -sf ${S}/../../configs/default ${S}/../../configs/current
 }
 
 do_install() {