public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] RFC:  "make DESTDIR=xxx install" ?
@ 2009-08-13 15:38 Ulf Samuelsson
  2009-08-13 18:06 ` Wolfgang Denk
  2009-08-13 18:06 ` ksi at koi8.net
  0 siblings, 2 replies; 10+ messages in thread
From: Ulf Samuelsson @ 2009-08-13 15:38 UTC (permalink / raw)
  To: u-boot

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

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

end of thread, other threads:[~2009-08-15 10:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-13 15:38 [U-Boot] RFC: "make DESTDIR=xxx install" ? Ulf Samuelsson
2009-08-13 18:06 ` 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

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