From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Buildman cookbook
Date: Mon, 27 Oct 2014 10:04:11 +0100 [thread overview]
Message-ID: <20141027090411.0CFA2382FFB@gemini.denx.de> (raw)
Hello,
it would be nice if we could add a buildman cookbok with hints how to
get started quickly with the most frequent use cases (or add some
quickstart section to the README).
Things that I would like to have better documented include:
- dependencies on external tools:
-> tools/buildman/buildman --list-tool-chains
Traceback (most recent call last):
File "tools/buildman/buildman", line 10, in <module>
import multiprocessing
ImportError: No module named multiprocessing
It would be nice if we could list such dependencies.
Actually we should probably provide such dependencies for U-Boot in
general - other tools have similar issues, like:
-> tools/genboardscfg.py
Traceback (most recent call last):
File "tools/genboardscfg.py", line 19, in <module>
import fnmatch
ImportError: No module named fnmatch
- It would be nice if we could include a sample ".buildman" file,
and add documentation what the sections ("[toolchain]",
"[toolchain-alias]") and entries ("root", "rest", "eldk", "arm",
"aarch64") actually mena, which other options exist, and how the
tool selects a specific tool chain from this list if multiple
options are present.
- I work a lot with local branches, and regularly run into this:
-> tools/buildman/buildman -n -b tq-generic-board
No section: 'make-flags'
Branch 'tq-generic-board' not found or has no upstream
Can we not avoid this? Or add a default to "master"?
The README recommends to use "git branch --set-upstream ...", but
actually I don't want to do that - it is simply not needed.
Furthermore, git complains;
-> git branch --set-upstream tq-generic-board master
The --set-upstream flag is deprecated and will be removed. Consider using --track or --set-upstream-to
Branch tq-generic-board set up to track local branch master.
Thanks.
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
Man braucht zwei Jahre, um sprechen zu lernen, und f?nfzig Jahre, um
schweigen zu lernen. - Ernest Hemingway
next reply other threads:[~2014-10-27 9:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 9:04 Wolfgang Denk [this message]
2014-10-29 15:09 ` [U-Boot] Buildman cookbook Simon Glass
2014-10-29 15:15 ` Dirk Eibach
2014-10-29 15:29 ` Wolfgang Denk
2014-10-29 18:04 ` Daniel Schwierzeck
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=20141027090411.0CFA2382FFB@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