Skip to contentSkip to conversation

unfs-server: Fix do_configure so it can be re-executed safely

PATCH In review Richard Purdie 2 participants 2 messages Apr 15, 2012 – Apr 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unfs-server: Fix do_configure so it can be re-executed safely

[YOCTO #2194]

---

meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb +3 -1
index 4e619c5..d03c153 100644
@@ -62,7 +62,9 @@ do_configure_prepend () {
     # 64-bit architectures:
     rm -f *_xdr.c
 
-    mv aclocal.m4 acinclude.m4
+    if [ ! -f ${S}/acinclude.m4 ]; then
+        mv ${S}/aclocal.m4 ${S}/acinclude.m4
+    fi
 }
 
 # This recipe is intended for -native and -nativesdk builds only,
#1 lore raw
Quoted 2 lines · Richard Purdie

[YOCTO #2194]

this was my issue I guess too since I was chosing gold for default linker on arm and x86
and that was causing issues of rexecuting this. This was due to the fact that I had a variabled called
LDISGOLD which differed in sstate signatures between mips and x86

Quoted 24 lines

---

meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb +0 -0
index 4e619c5..d03c153 100644
@@ -62,7 +62,9 @@ do_configure_prepend () {
     # 64-bit architectures:

    rm -f *_xdr.c

-    mv aclocal.m4 acinclude.m4
+    if [ ! -f ${S}/acinclude.m4 ]; then
+        mv ${S}/aclocal.m4 ${S}/acinclude.m4
+    fi
 }

 # This recipe is intended for -native and -nativesdk builds only,

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core