Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot: package/lzmatarget/linux toolchain/kern etc...
Date: Fri, 17 Aug 2007 15:23:06 +0200	[thread overview]
Message-ID: <016201c7e0d8$5415c8a0$dcc4af0a@atmel.com> (raw)
In-Reply-To: 20070817112226.GD29258@zelow.no

----- Original Message ----- 
From: "Thomas Lundquist" <lists@zelow.no>
To: <buildroot@uclibc.org>
Sent: Friday, August 17, 2007 1:22 PM
Subject: Re: [Buildroot] svn commit: trunk/buildroot: package/lzmatarget/linux toolchain/kern etc...


> On Thu, Aug 16, 2007 at 11:17:41AM -0700, ulf at uclibc.org wrote:
>> 
>> Log:
>> Ensure lzma is built *before* linux, allow system installation in /usr/local/bin
> 
> I don't agree with this one. I want host tools put in
> STAGING_DIR/bin or usr/bin, not outside the toolchain/buildroot.
> 

It *will* always be put in "STAGING_DIR/usr/bin".
The new configuration item allows you to put it in /usr/local/bin as well, an extra feature.
STAGING_DIR/usr/bin/lzma will still be available.

Buildroot won't find "STAGING_DIR/usr/bin/lzma" so you have to do
PATH:=$(STAGING_DIR)/usr/bin:$(PATH) outside buildroot.

This is not obvious, so the linux compile will fail for all newbies.

> It's alot cleaner and feels right.
> 

Except that it will break the build.

> And it's not given that the user are allowed to put the binary there
> anyway.

It is noted in the configuration that you need 'sudo' access.
If you don't you have to setup the PATH.

A long term solution would be for the persons needing lzma
to fix it so that it is used from STAGING_DIR.

Maybe the Linux compile should do:

make LZMA=$(STAGING_DIR)/usr/bin/lzma -C $(LINUX26_DIR)


> 
> 
> Thomas.




Best Regards
Ulf Samuelsson

  reply	other threads:[~2007-08-17 13:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-16 18:17 [Buildroot] svn commit: trunk/buildroot: package/lzma target/linux toolchain/kern etc ulf at uclibc.org
2007-08-17 11:22 ` Thomas Lundquist
2007-08-17 13:23   ` Ulf Samuelsson [this message]
2007-08-20 12:36     ` [Buildroot] svn commit: trunk/buildroot: package/lzmatarget/linux " Thomas Lundquist
2007-08-17 13:48   ` [Buildroot] svn commit: trunk/buildroot: package/lzma target/linux " Bernhard Fischer

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='016201c7e0d8$5415c8a0$dcc4af0a@atmel.com' \
    --to=ulf@atmel.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox