[oe-commits] Richard Purdie : mesa-dri-glsl-native: Avoid error when running configure a second time

git at git.openembedded.org git at git.openembedded.org
Mon Mar 12 17:48:56 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 7871772c74e65ef472c5bf3776e4b3b30308bd5d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7871772c74e65ef472c5bf3776e4b3b30308bd5d

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Mar 12 12:14:45 2012 +0000

mesa-dri-glsl-native: Avoid error when running configure a second time

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 at linuxfoundation.org>

---

 .../mesa/mesa-dri-glsl-native_7.11.bb              |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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() {





More information about the Openembedded-commits mailing list