From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Samuelsson Date: Thu, 13 Aug 2009 17:38:58 +0200 Subject: [U-Boot] RFC: "make DESTDIR=xxx install" ? Message-ID: <4A843392.4020800@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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= TARGET= 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