Skip to content

Supporting a second Barebox build to build the MLO/SPL

Pieter Smith buildroot 1 version New

Get series with b4
b4 am 20151102213850.GA5966@smipidev

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/4] Supporting a second Barebox build to build the MLO/SPL

Hi Arnout,

Quoted 8 lines · Arnout Vandecappelle
Quoted 1 line · Pieter Smith

What are your thoughts on this?

Thinking out of the box here: would it be possible to keep a single barebox
package and do everything twice (or more) in the _CMDS, with different output directories?

Granted, that will be a bit tricky w.r.t. the kconfig infra.

My initial approach was exactly what you are suggesting. It works fine for compiling the images, but it falls apart on other useful make infrastructure that you would want to run at a finer granularity:

Wanting to build barebox with two configs, you would typically want to run %-menuconfig for each of the two. This is not possible if the two builds are not implemented by two separate packages in the buildroot make environment. It simply ends up not being handy if the two build configurations are not addressable as two separate packages.

Quoted 11 lines

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

Regards,
Pieter Smith