[U-Boot] RFC: "make DESTDIR=xxx install" ?
ksi at koi8.net
ksi at koi8.net
Thu Aug 13 20:06:59 CEST 2009
On Thu, 13 Aug 2009, Ulf Samuelsson wrote:
> 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?
IMHO it is not worth the effort... U-Boot builds its binary in source root
and there is no "make install" at all. When one builds RPM or whatever
packages (as I do) it is not big deal to move the resulting binary elsewhere
with a single "mv" command.
---
******************************************************************
* KSI at home KOI8 Net < > The impossible we do immediately. *
* Las Vegas NV, USA < > Miracles require 24-hour notice. *
******************************************************************
More information about the U-Boot
mailing list