Hello! Tobias Geerinckx-Rice <m...@tobias.gr> skribis:
> On 2016-07-22 21:58, Vincent Legoll wrote: >>> Does anyone know a reason why all the .config stuff couldn't be >>> moved to a separate 'configure-phase, before I waste my time? ;-) >> >> There's a thread in help-guix that may be relevant: >> >> https://lists.gnu.org/archive/html/help-guix/2016-07/msg00096.html > > Yes, in the sense that Ludo's example from that thread was what > got me started. I hadn't expected it to be so easy. > > What I actually meant was: why is everything up to ‘make oldconfig’ > part of the build phase, and not a separate 'configure phase? Good point! The current ‘build-phase’ could very much be split into maybe 3 phases: one to set ARCH, one to fiddle with .config, one to run ‘make oldconfig’, and one to perform the actual build (three? four?). WDYT? Ludo’.