From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] RFC: "make DESTDIR=xxx install" ?
Date: Thu, 13 Aug 2009 23:03:49 +0200 [thread overview]
Message-ID: <20090813210349.2084C833DBD2@gemini.denx.de> (raw)
In-Reply-To: <4A84779F.7010201@atmel.com>
Dear Ulf Samuelsson,
In message <4A84779F.7010201@atmel.com> you wrote:
>
> This still means that the external buildsystem need to
> know the internals of u-boot.
You always have to know the interface to the U-Boot build framework,
there is no way around that.
> There is nothing to stop me calling u-boot with
>
> make DESTDIR=/tftpboot/$(MACHINE)
> TARGET=$(MACHINE)-u-boot-$(U_BOOT_VERSION)-$(REVISION).bin install
Well, you must know that the U-Boot build framework does support these
options (or whatever they might be called), assuming they existed.
> If you maintain just a couple of boards, then it is inconvenient to
> have a subdirectory.
> If the tftp command in u-boot would fetch from that subdirectory
> automatically, then it would be less of a pain.
Well, that's the default for many board configurations - at least for
all where I have something to say about the implementation.
It's in your hands to make it the default for all your boards, too.
> I am happy with u-boot.bin as a default,
> but there is nothing stopping you from adding more parameters
> like FORMAT=srec or FORMAT=hex.
I'm not sure if this is the right approch. To me it seems that a small
wrapper script, optimized for your (or my) purpose, is much more
flexible and does not pollute the Makefile for features only very
few people ever need.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The Wright Bothers weren't the first to fly. They were just the first
not to crash.
next prev parent reply other threads:[~2009-08-13 21:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=20090813210349.2084C833DBD2@gemini.denx.de \
--to=wd@denx.de \
--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