All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH try 5] wine: New package
Date: Thu, 29 Jan 2015 23:52:37 +0100	[thread overview]
Message-ID: <20150129225237.GB4213@free.fr> (raw)
In-Reply-To: <20150129214622.GA4213@free.fr>

Andr?, All,

On 2015-01-29 22:46 +0100, Yann E. MORIN spake thusly:
> On 2015-01-23 23:11 +0100, Andr? Hentschel spake thusly:
> > Adds new package: wine
> > 
> >   Wine is a compatibility layer capable of running Windows applications on Linux.
> > 
> > Signed-off-by: Andr? Hentschel <nerv@dawncrow.de>

I also managed to greatly improve the build time, by selectively bulding
only the host tools:

    # Wine only needs the host tools to be built, so cut-down the
    # build time by building just what we need.
    define HOST_WINE_BUILD_CMDS
        $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) tools tools/widl tools/winebuild \
                tools/winedump tools/winegcc tools/wmc tools/wrc
    endef

    # Wine only needs its host variant to be built, not that it is
    # installed, as it uses the tools from the build directory. But
    # we have no way in Buildroot to state that a host package should
    # not be installed. So, just provide an noop install command.
    define HOST_WINE_INSTALL_CMDS
        :
    endef

There is no reason to build the full host variant, when we are only
interested in the tools. And among those I select above, some might even
not be needed; I'll leave that to you to decide if we can trim that list
even further down. ;-)

And off am I, FOSDEM week-end incoming! :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-01-29 22:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23 22:11 [Buildroot] [PATCH try 5] wine: New package André Hentschel
2015-01-29 21:46 ` Yann E. MORIN
2015-01-29 22:52   ` Yann E. MORIN [this message]
2015-02-18 21:34     ` André Hentschel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150129225237.GB4213@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.