mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Giorgio Dal Molin <giorgio.nicole@arcor.de>
To: barebox@lists.infradead.org
Subject: re-generate the builtin environment
Date: Fri, 16 Feb 2018 10:09:00 +0100 (CET)	[thread overview]
Message-ID: <4066173.3341.1518772140511@mail.vodafone.de> (raw)

Hi,

I want to build a default environment in the barebox for my
board.


For this I defined the following vars in the .config file:

...
CONFIG_DEFAULT_ENVIRONMENT=y
CONFIG_DEFAULT_COMPRESSION_LZ4=y
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_DFU=y
CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/am335x-evm/defaultenv-am335x_evm"
...

What I observe is that the first time I build barebox the default env is also built;
but after that, if I modify something under CONFIG_DEFAULT_ENVIRONMENT_PATH and
just rebuild the barebox dir. without a 'make clean' then the changes are missed.

It this correct or do I do something wrong.

The second question is: I noticed that in the board Makefile:

 arch/arm/boards/am335x-evm/Makefile

one can add the definition:

bbenv-y += defaultenv-am335x_evm

Isn't it a duplicate of the CONFIG_DEFAULT_ENVIRONMENT_PATH make var. ?

giorgio

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2018-02-16  9:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-16  9:09 Giorgio Dal Molin [this message]
2018-02-19  6:27 ` Sascha Hauer

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=4066173.3341.1518772140511@mail.vodafone.de \
    --to=giorgio.nicole@arcor.de \
    --cc=barebox@lists.infradead.org \
    /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