Openembedded Core Discussions
 help / color / mirror / Atom feed
* qemu.inc do_install question / qemu-targets.inc
@ 2012-02-28 21:40 McClintock Matthew-B29882
  2012-03-02 14:05 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: McClintock Matthew-B29882 @ 2012-02-28 21:40 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
  Cc: Yoder Stuart-B08248, Paul Eggleton

All,

I'm wanting to remove this:

diff --git a/meta/recipes-devtools/qemu/qemu.inc
b/meta/recipes-devtools/qemu/qemu.inc
index 58049b9..3be46f2 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -49,13 +49,6 @@ do_configure() {
     test ! -e ${S}/target-i386/beginend_funcs.sh || chmod a+x
${S}/target-i386/beginend_funcs.s
 }

-do_install () {
-       export STRIP="true"
-       autotools_do_install
-       install -d ${D}${datadir}/qemu
-       install -m 0755 ${WORKDIR}/powerpc_rom.bin ${D}${datadir}/qemu
-}
-

Can anyone comment why it's there? Can we move it up a level to a
specific recipe? We don't want to include this powerpc_rom.bin..
should we just fork our qemu recipe instead?

Also, can we make this change? I don't think we want ppc-linux-user on
our ppc-softmmu target.

diff --git a/meta/recipes-devtools/qemu/qemu-targets.inc
b/meta/recipes-devtools/qemu/qemu-targe
index 550a7fe..8423aa1 100644
--- a/meta/recipes-devtools/qemu/qemu-targets.inc
+++ b/meta/recipes-devtools/qemu/qemu-targets.inc
@@ -6,7 +6,7 @@ def get_qemu_target_list(d):
     import bb
     archs = bb.data.getVar('QEMU_TARGETS', d, True).split()
     targets = ""
-    for arch in ['mips64', 'mips64el', 'ppcemb']:
+    for arch in ['mips64', 'mips64el', 'ppcemb', 'ppc']:
         if arch in archs:
             targets += arch + "-softmmu,"
            archs.remove(arch)

-M



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

* Re: qemu.inc do_install question / qemu-targets.inc
  2012-02-28 21:40 qemu.inc do_install question / qemu-targets.inc McClintock Matthew-B29882
@ 2012-03-02 14:05 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2012-03-02 14:05 UTC (permalink / raw)
  To: McClintock Matthew-B29882,
	Patches and discussions about the oe-core layer
  Cc: Yoder Stuart-B08248, Paul Eggleton

On Tue, 2012-02-28 at 21:40 +0000, McClintock Matthew-B29882 wrote:
> All,
> 
> I'm wanting to remove this:
> 
> diff --git a/meta/recipes-devtools/qemu/qemu.inc
> b/meta/recipes-devtools/qemu/qemu.inc
> index 58049b9..3be46f2 100644
> --- a/meta/recipes-devtools/qemu/qemu.inc
> +++ b/meta/recipes-devtools/qemu/qemu.inc
> @@ -49,13 +49,6 @@ do_configure() {
>      test ! -e ${S}/target-i386/beginend_funcs.sh || chmod a+x
> ${S}/target-i386/beginend_funcs.s
>  }
> 
> -do_install () {
> -       export STRIP="true"
> -       autotools_do_install
> -       install -d ${D}${datadir}/qemu
> -       install -m 0755 ${WORKDIR}/powerpc_rom.bin ${D}${datadir}/qemu
> -}
> -
> 
> Can anyone comment why it's there? Can we move it up a level to a
> specific recipe? We don't want to include this powerpc_rom.bin..
> should we just fork our qemu recipe instead?

From what I remember our qemuppc image didn't boot without that file
being present. Whether that is still the case I don't know.

I care that qemuppc continues to boot correctly, not about the location
the file is installed.

> Also, can we make this change? I don't think we want ppc-linux-user on
> our ppc-softmmu target.
> 
> diff --git a/meta/recipes-devtools/qemu/qemu-targets.inc
> b/meta/recipes-devtools/qemu/qemu-targe
> index 550a7fe..8423aa1 100644
> --- a/meta/recipes-devtools/qemu/qemu-targets.inc
> +++ b/meta/recipes-devtools/qemu/qemu-targets.inc
> @@ -6,7 +6,7 @@ def get_qemu_target_list(d):
>      import bb
>      archs = bb.data.getVar('QEMU_TARGETS', d, True).split()
>      targets = ""
> -    for arch in ['mips64', 'mips64el', 'ppcemb']:
> +    for arch in ['mips64', 'mips64el', 'ppcemb', 'ppc']:
>          if arch in archs:
>              targets += arch + "-softmmu,"
>             archs.remove(arch)

I've no hard feelings on that one.

Cheers,

Richard




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

end of thread, other threads:[~2012-03-02 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28 21:40 qemu.inc do_install question / qemu-targets.inc McClintock Matthew-B29882
2012-03-02 14:05 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox