public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] RFC:  "make DESTDIR=xxx install" ?
Date: Thu, 13 Aug 2009 17:38:58 +0200	[thread overview]
Message-ID: <4A843392.4020800@atmel.com> (raw)

Many packages support installing the resulting binary in another
location, but U-Boot does not.

When you use buildsystems like buildroot and openembedded,
you want to collect the end result in a target directory,
and while you can use internal knowledge about u-boot
to do so, it seems cleaner to me, to do a "make DESTDIR install".

Since you may want to put the binaries for several
boards in the same directory (like /tftpboot)
it is not always good to call the binary simply u-boot.bin.

I guess "make DESTDIR=<destination> TARGET=<name> install" would work

Alternatively, we collect the final binary from several variables,

openembedded typically calls the end binary:
${MACHINE}-u-boot-${U_BOOT_VERSION}-${REVISION}.bin

Feedback?

BR
Ulf Samuelsson

             reply	other threads:[~2009-08-13 15:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 15:38 Ulf Samuelsson [this message]
2009-08-13 18:06 ` [U-Boot] RFC: "make DESTDIR=xxx install" ? Wolfgang Denk
2009-08-13 20:29   ` Ulf Samuelsson
2009-08-13 21:03     ` Wolfgang Denk
2009-08-15  5:01       ` Ulf Samuelsson
2009-08-15  6:32         ` Wolfgang Denk
2009-08-15  9:35           ` Ulf Samuelsson
2009-08-15 10:42             ` Wolfgang Denk
2009-08-13 18:06 ` ksi at koi8.net
2009-08-13 20:29   ` Ulf Samuelsson

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=4A843392.4020800@atmel.com \
    --to=ulf.samuelsson@atmel.com \
    --cc=u-boot@lists.denx.de \
    /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