Patchwork [meta-openembedded,v2] cramfs_cvs.bb: fix compile step so it can be rerun without failing

login
register
mail settings
Submitter Matthew McClintock
Date July 6, 2012, 4:01 p.m.
Message ID <1341590515-9567-1-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/31325/
State Accepted
Commit 8f0de34919eb56f0e1e8565d024729cd8d7264a5
Headers show

Comments

Matthew McClintock - July 6, 2012, 4:01 p.m.
Signed-off-by: Matthew McClintock <msm@freescale.com>
---
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(-)
McClintock Matthew-B29882 - July 12, 2012, 8:06 p.m.
Koen,

Did I miss something for this patch?

-M

On Fri, Jul 6, 2012 at 11:01 AM, Matthew McClintock <msm@freescale.com> wrote:
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
> 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(-)
>
> diff --git a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
> index 667097c..d9b6c06 100644
> --- a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
> +++ b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
> @@ -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://anonymous@cramfs.cvs.sourceforge.net/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
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Koen Kooi - July 12, 2012, 8:23 p.m.
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 <B29882@freescale.com> het volgende geschreven:

> Koen,
> 
> Did I miss something for this patch?
> 
> -M
> 
> On Fri, Jul 6, 2012 at 11:01 AM, Matthew McClintock <msm@freescale.com> wrote:
>> Signed-off-by: Matthew McClintock <msm@freescale.com>
>> ---
>> 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(-)
>> 
>> diff --git a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
>> index 667097c..d9b6c06 100644
>> --- a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
>> +++ b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
>> @@ -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://anonymous@cramfs.cvs.sourceforge.net/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
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
McClintock Matthew-B29882 - July 12, 2012, 8:24 p.m.
On Thu, Jul 12, 2012 at 3:23 PM, Koen Kooi <koen@dominion.thruhere.net> wrote:
> 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

>
> Op 12 jul. 2012 om 22:06 heeft McClintock Matthew-B29882 <B29882@freescale.com> het volgende geschreven:
>
>> Koen,
>>
>> Did I miss something for this patch?
>>
>> -M
>>
>> On Fri, Jul 6, 2012 at 11:01 AM, Matthew McClintock <msm@freescale.com> wrote:
>>> Signed-off-by: Matthew McClintock <msm@freescale.com>
>>> ---
>>> 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(-)
>>>
>>> diff --git a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
>>> index 667097c..d9b6c06 100644
>>> --- a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
>>> +++ b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
>>> @@ -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://anonymous@cramfs.cvs.sourceforge.net/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
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
index 667097c..d9b6c06 100644
--- a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
+++ b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
@@ -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://anonymous@cramfs.cvs.sourceforge.net/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() {