From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1glpcX-0005tk-C5 for barebox@lists.infradead.org; Tue, 22 Jan 2019 06:33:15 +0000 Date: Tue, 22 Jan 2019 07:33:06 +0100 From: Sascha Hauer Message-ID: <20190122063306.yvfd6p2b52ofw2ab@pengutronix.de> References: <49608661548074089@myt5-f1576e7b5bad.qloud-c.yandex.net> <20190121151232.djbrymvdolvpva3z@pengutronix.de> <20190121163503.GA2854@ravnborg.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190121163503.GA2854@ravnborg.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [HELP] Barebox porting To: Sam Ravnborg Cc: Barebox List On Mon, Jan 21, 2019 at 05:35:03PM +0100, Sam Ravnborg wrote: > On Mon, Jan 21, 2019 at 04:12:32PM +0100, Sascha Hauer wrote: > > On Mon, Jan 21, 2019 at 03:34:49PM +0300, Seraphim Dolbilov wrote: > > > Hi friends, > > > > > > I need some help with barebox environment management. I've added env/config file > > > to arch/arm/myboard/ directory, fixed Makefile with `bbenv-y += env` string, but > > > this config file doesn't apply on barebox boots. What can be the reason for such a problem? > > > > with bbenv-y it is only compiled it, but remains unused. You have to add > > it using defaultenv_append_directory(). > > Or even better I think to add the path to: > DEFAULT_ENVIRONMENT_PATH This only works when you want to add something to the environment for all boards. When you only want to change the environment for a single board then defaultenv_append_directory() is the right choice. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox