From: Jeremy Rosen <jeremy.rosen@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Project layout : where to put the .config files
Date: Thu, 30 Jan 2014 11:42:46 +0100 (CET) [thread overview]
Message-ID: <1837704479.4894137.1391078566256.JavaMail.root@openwide.fr> (raw)
In-Reply-To: <CAAXf6LVcyT1O41enwqPrWLuY0Mz8yO2Wn8kX=3NviVWEHtw7Dg@mail.gmail.com>
Thomas, All
>
> I find it a strange strategy to put .config in git: this is why we
> have the configs/ directory, and a target 'make savedefconfig' to
> store the .config configuration in a defconfig file. If you don't
> like
> defconfigs, you can still copy .config directly in the configs/
> subdirectory.
>
> Best regards,
> Thomas
>
This is my own little project I am building here it is not a new
board I am trying to support. I have been bitten multiple times
by .config not being saved until I do a savedefconfig. savedefconfig
should not be a "my change are good let's validate" step. That's
what git commit is for.
Defconfigs are a great way to define templates for a board and
distribute them with buildroot, but when you are building a final
product they are not the right tool.
In particular the fact that you have to do a savedefconfig before
any git commit is very error prone. moreover savedefconfig won't
warn you if defconfig has been modified by a pull and will overwrite
it.
This is even worse for the kernel/busybox case where the config
files are hidden in output/build/xxx/.config
next prev parent reply other threads:[~2014-01-30 10:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1357102119.4889305.1391074415327.JavaMail.root@openwide.fr>
2014-01-30 9:53 ` [Buildroot] Project layout : where to put the .config files Jeremy Rosen
2014-01-30 9:59 ` Thomas De Schampheleire
2014-01-30 10:42 ` Jeremy Rosen [this message]
2014-01-30 11:00 ` Thomas De Schampheleire
2014-01-30 11:11 ` Sagaert Johan
2014-01-30 11:39 ` Mike Zick
2014-01-30 12:34 ` Jeremy Rosen
2014-01-30 13:54 ` Mike Zick
2014-01-30 14:10 ` Jeremy Rosen
2014-01-30 14:42 ` Mike Zick
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=1837704479.4894137.1391078566256.JavaMail.root@openwide.fr \
--to=jeremy.rosen@openwide.fr \
--cc=buildroot@busybox.net \
/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