Skip to contentSkip to conversation

cramfs_cvs.bb: fix compile step so it can be rerun without failing

PATCH Superseded Matthew McClintock 4 participants 8 messages Jul 6, 2012 – Jul 12, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cramfs_cvs.bb: fix compile step so it can be rerun without failing

---
 meta-oe/recipes-support/cramfs/cramfs_cvs.bb |    2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/cramfs/cramfs_cvs.bb +2 -0
index 667097c..61a3fdd 100644
@@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/linux/COPYING;md5=9579385572eb40eded61dcb0
 DEPENDS = "zlib"
 SRCDATE = "20110110"
 PV = "1.1+cvs${SRCDATE}"
+PR = "r1"
 
 SRC_URI = "cvs://[email protected]/cvsroot/cramfs;module=linux"
 S = "${WORKDIR}/linux/scripts/cramfs"
@@ -16,6 +17,7 @@ EXTRA_OEMAKE = "\
 
 
 do_compile_prepend() {
+	unlink Makefile || true
         ln -s GNUmakefile Makefile
 }
 
Signature · 1 line
1.7.10
#1 lore raw
Quoted 5 lines · Matthew McClintock

do_compile_prepend() {
+ unlink Makefile || true
ln -s GNUmakefile Makefile
}

why not just ln -sf ?

#3 lore raw

PATCH v2 1/1 cramfs_cvs.bb: fix compile step so it can be rerun without failing

---
v2: - use ln -sf instead of separate unlink command

 meta-oe/recipes-support/cramfs/cramfs_cvs.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/cramfs/cramfs_cvs.bb +2 -1
index 667097c..d9b6c06 100644
@@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/linux/COPYING;md5=9579385572eb40eded61dcb0
 DEPENDS = "zlib"
 SRCDATE = "20110110"
 PV = "1.1+cvs${SRCDATE}"
+PR = "r1"
 
 SRC_URI = "cvs://[email protected]/cvsroot/cramfs;module=linux"
 S = "${WORKDIR}/linux/scripts/cramfs"
@@ -16,7 +17,7 @@ EXTRA_OEMAKE = "\
 
 
 do_compile_prepend() {
-        ln -s GNUmakefile Makefile
+        ln -sf GNUmakefile Makefile
 }
 
 do_install() {
Signature · 1 line
1.7.10
#4 lore raw

Koen,

Did I miss something for this patch?

-M

Quoted 37 lines · Matthew McClintock

---
v2: - use ln -sf instead of separate unlink command

 meta-oe/recipes-support/cramfs/cramfs_cvs.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/cramfs/cramfs_cvs.bb +2 -2
index 667097c..d9b6c06 100644
@@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/linux/COPYING;md5=9579385572eb40eded61dcb0
 DEPENDS = "zlib"
 SRCDATE = "20110110"
 PV = "1.1+cvs${SRCDATE}"
+PR = "r1"
 
 SRC_URI = "cvs://[email protected]/cvsroot/cramfs;module=linux"
 S = "${WORKDIR}/linux/scripts/cramfs"
@@ -16,7 +17,7 @@ EXTRA_OEMAKE = "\
 
 
 do_compile_prepend() {
-        ln -s GNUmakefile Makefile
+        ln -sf GNUmakefile Makefile
 }
 
 do_install() {
--

1.7.10

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

#5 lore raw

I missed it in patchwork because it lacked the 'meta-oe' tag in the subject. I suck at keeping up with the mailinglist :(

Op 12 jul. 2012 om 22:06 heeft McClintock Matthew-B29882 <[email protected]> het volgende geschreven:

Quoted 44 lines

Koen,

Did I miss something for this patch?

-M

Quoted 37 lines · Matthew McClintock

---
v2: - use ln -sf instead of separate unlink command

meta-oe/recipes-support/cramfs/cramfs_cvs.bb | 3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/cramfs/cramfs_cvs.bb +0 -0
index 667097c..d9b6c06 100644
@@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/linux/COPYING;md5=9579385572eb40eded61dcb0

DEPENDS = "zlib"
SRCDATE = "20110110"
PV = "1.1+cvs${SRCDATE}"
+PR = "r1"

SRC_URI = "cvs://[email protected]/cvsroot/cramfs;module=linux" S = "${WORKDIR}/linux/scripts/cramfs"

meta-oe/recipes-support/cramfs/cramfs_cvs.bb +1 -2
@@ -16,7 +17,7 @@ EXTRA_OEMAKE = "\
 
 
 do_compile_prepend() {
-        ln -s GNUmakefile Makefile
+        ln -sf GNUmakefile Makefile
 }
 
 do_install() {
--

1.7.10

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

#6 lore raw
Quoted 1 line · Koen Kooi

I missed it in patchwork because it lacked the 'meta-oe' tag in the subject. I suck at keeping up with the mailinglist :(

Ah, I had meta-openembedded in v2 ;)

-M

Quoted 52 lines

Op 12 jul. 2012 om 22:06 heeft McClintock Matthew-B29882 <[email protected]> het volgende geschreven:

Quoted 40 lines

Koen,

Did I miss something for this patch?

-M

Quoted 33 lines · Matthew McClintock

---
v2: - use ln -sf instead of separate unlink command

meta-oe/recipes-support/cramfs/cramfs_cvs.bb | 3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/cramfs/cramfs_cvs.bb +0 -0
index 667097c..d9b6c06 100644
@@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/linux/COPYING;md5=9579385572eb40eded61dcb0

DEPENDS = "zlib"
SRCDATE = "20110110"
PV = "1.1+cvs${SRCDATE}"
+PR = "r1"

SRC_URI = "cvs://[email protected]/cvsroot/cramfs;module=linux" S = "${WORKDIR}/linux/scripts/cramfs"

meta-oe/recipes-support/cramfs/cramfs_cvs.bb +1 -2
@@ -16,7 +17,7 @@ EXTRA_OEMAKE = "\
 
 
 do_compile_prepend() {
-        ln -s GNUmakefile Makefile
+        ln -sf GNUmakefile Makefile
 }
 
 do_install() {
--

1.7.10

Quoted 4 lines
Quoted 4 lines

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

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

#7 lore raw
In reply to Matthew McClintock

Ugh, this is for meta-openembedded...

-M

Quoted 34 lines · Matthew McClintock
---
 meta-oe/recipes-support/cramfs/cramfs_cvs.bb |    2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/cramfs/cramfs_cvs.bb +2 -1
index 667097c..61a3fdd 100644
@@ -4,6 +4,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/linux/COPYING;md5=9579385572eb40eded61dcb0
 DEPENDS = "zlib"
 SRCDATE = "20110110"
 PV = "1.1+cvs${SRCDATE}"
+PR = "r1"
 
 SRC_URI = "cvs://[email protected]/cvsroot/cramfs;module=linux"
 S = "${WORKDIR}/linux/scripts/cramfs"
@@ -16,6 +17,7 @@ EXTRA_OEMAKE = "\
 
 
 do_compile_prepend() {
+       unlink Makefile || true
         ln -s GNUmakefile Makefile
 }
 
--

1.7.10

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