From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] kbuild: wrong version_autogenerated.h
Date: Sat, 08 Mar 2014 18:09:46 +0100 [thread overview]
Message-ID: <531B4EDA.9070702@googlemail.com> (raw)
Dear Masahiro Yamada,
I noticed a wrongly generated version_autogenerated.h with my default
workflow:
---8<---
andreas at andreas-pc % PATH=$AVR32_PATH:$PATH BUILD_NCPUS=2
BUILD_NBUILDS=6 CROSS_COMPILE=avr32-linux-
MAKEALL_LOGDIR=/tmp/makeall_logs BUILD_DIR=/tmp/makeall_buildavr32
./MAKEALL grasshopper
Configuring for grasshopper board...
text data bss dec hex filename
105427 9518 21388 136333 2148d
/tmp/makeall_buildavr32/grasshopper/u-boot
--------------------- SUMMARY ----------------------------
Boards compiled: 0
----------------------------------------------------------
PATH=$AVR32_PATH:$PATH BUILD_NCPUS=2 BUILD_NBUILDS=6 CROSS_COMPILE= = =
10,69s user 2,68s system 198% cpu 6,740 total
andreas at andreas-pc % cat
/tmp/makeall_buildavr32/grasshopper/include/generated/version_autogenerated.h
#define PLAIN_VERSION ""
#define U_BOOT_VERSION "U-Boot " PLAIN_VERSION
#define CC_VERSION_STRING "avr32-linux-gcc (OSELAS.Toolchain-2011.11.0)
4.4.7"
#define LD_VERSION_STRING "GNU ld (GNU Binutils) 2.20.1.20100303"
andreas@andreas-pc %
--->8---
However using make directly is working correctly:
---8<---
andreas at andreas-pc % PATH=$AVR32_PATH:$PATH CROSS_COMPILE=avr32-linux-
make -s O=/tmp/build_grasshopper grasshopper_config all
Configuring for grasshopper board...
PATH=$AVR32_PATH:$PATH CROSS_COMPILE=avr32-linux- make -s
grasshopper_config 9,84s user 2,66s system 81% cpu 15,406 total
andreas at andreas-pc % cat
/tmp/build_grasshopper/include/generated/version_autogenerated.h
#define PLAIN_VERSION "2014.04-rc1-00277-g180e065"
#define U_BOOT_VERSION "U-Boot " PLAIN_VERSION
#define CC_VERSION_STRING "avr32-linux-gcc (OSELAS.Toolchain-2011.11.0)
4.4.7"
#define LD_VERSION_STRING "GNU ld (GNU Binutils) 2.20.1.20100303"
andreas@andreas-pc %
--->8---
I haven't seen anything about that on the list, is it a known bug? Is
MAKEALL still a tool to use or is it outdated?
At the moment I have not the time to dive into that problem, maybe I
find some minutes next week.
Best regards
Andreas Bie?mann
next reply other threads:[~2014-03-08 17:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-08 17:09 Andreas Bießmann [this message]
2014-03-10 1:58 ` [U-Boot] kbuild: wrong version_autogenerated.h Masahiro Yamada
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=531B4EDA.9070702@googlemail.com \
--to=andreas.devel@googlemail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.