All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] guilt-native: eliminate hardcoded "/usr" in do_install
@ 2011-05-17 10:34 Phil Blundell
  2011-05-17 14:01 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Blundell @ 2011-05-17 10:34 UTC (permalink / raw)
  To: openembedded-core

For some reason guilt-native seems to have gone out of its way to refer explicitly to /usr, which breaks on micro. 
Let's use ${prefix} instead.

---
 meta/recipes-devtools/guilt/guilt-native_0.33.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/guilt/guilt-native_0.33.bb b/meta/recipes-devtools/guilt/guilt-native_0.33.bb
index 6261330..7d0246e 100644
--- a/meta/recipes-devtools/guilt/guilt-native_0.33.bb
+++ b/meta/recipes-devtools/guilt/guilt-native_0.33.bb
@@ -28,5 +28,5 @@ do_compile() {
 }

 do_install() {
-       oe_runmake PREFIX=${D}/${base_prefix}/usr install
+       oe_runmake PREFIX=${D}/${prefix} install
 }






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] guilt-native: eliminate hardcoded "/usr" in do_install
  2011-05-17 10:34 [PATCH] guilt-native: eliminate hardcoded "/usr" in do_install Phil Blundell
@ 2011-05-17 14:01 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-05-17 14:01 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: openembedded-core

On Tue, 2011-05-17 at 11:34 +0100, Phil Blundell wrote:
> For some reason guilt-native seems to have gone out of its way to refer explicitly to /usr, which breaks on micro. 
> Let's use ${prefix} instead.
> 
> ---
>  meta/recipes-devtools/guilt/guilt-native_0.33.bb |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-devtools/guilt/guilt-native_0.33.bb b/meta/recipes-devtools/guilt/guilt-native_0.33.bb
> index 6261330..7d0246e 100644
> --- a/meta/recipes-devtools/guilt/guilt-native_0.33.bb
> +++ b/meta/recipes-devtools/guilt/guilt-native_0.33.bb
> @@ -28,5 +28,5 @@ do_compile() {
>  }
> 
>  do_install() {
> -       oe_runmake PREFIX=${D}/${base_prefix}/usr install
> +       oe_runmake PREFIX=${D}/${prefix} install
>  }
> 

Merged to mast thanks.

(again, whitespace on this was corrupted)

Cheers,

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-17 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-17 10:34 [PATCH] guilt-native: eliminate hardcoded "/usr" in do_install Phil Blundell
2011-05-17 14:01 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.