Re: u-boot: separate build, assorted improvements

2019-09-22 Thread Klemens Nanni
On Tue, Sep 03, 2019 at 11:40:54PM +0200, Klemens Nanni wrote: > > I think there may be some spots where python2 is used as it checks for > > both, but python3 is the direction all the linux people are pushing. > I'll double check the builds with Python 2 removed from the build host. So I did

Re: u-boot: separate build, assorted improvements

2019-09-03 Thread Klemens Nanni
On Tue, Sep 03, 2019 at 09:36:23PM +1000, Jonathan Gray wrote: > jsing has a pending diff which does that and adds a target Cool; I'll just wait for his diff either ways, then. > > - drop python handling in pre-build; done automatically in pre-configure > > This used to be required but if it

Re: u-boot: separate build, assorted improvements

2019-09-03 Thread Klemens Nanni
On Tue, Sep 03, 2019 at 01:29:33PM +0200, Jeremie Courreges-Anglas wrote: > AFAIK SEPARATE_BUILD=Yes implies that ${WRKSRC} isn't touched after the > extract/patch(/gen?) step. You can already tinker with > SEPARATE_BUILD=Yes by setting it on your make command-line. This probably holds true and

Re: u-boot: separate build, assorted improvements

2019-09-03 Thread Jonathan Gray
On Mon, Sep 02, 2019 at 10:47:42PM +0200, Klemens Nanni wrote: > Came here to tinker with one board in particular, but always building > everything was taking so too much time, so I noticed `make BOARDS=foo' > would build just that board... anyways, here's some cleanup that also > enables us to

Re: u-boot: separate build, assorted improvements

2019-09-03 Thread Jeremie Courreges-Anglas
On Mon, Sep 02 2019, Klemens Nanni wrote: [...] > Bits are still written to WRKSRC as its size increases by a few > megabytes after build, but I think the split is still worth it and makes > it easier to look into these remaining matters. AFAIK SEPARATE_BUILD=Yes implies that ${WRKSRC} isn't

Re: u-boot: separate build, assorted improvements

2019-09-03 Thread Klemens Nanni
On Tue, Sep 03, 2019 at 12:27:46AM +0200, Christian Weisgerber wrote: > MK isn't defined anywhere in this diff. Let's try the correct version of the diff. Index: Makefile === RCS file: /cvs/ports/sysutils/u-boot/Makefile,v

Re: u-boot: separate build, assorted improvements

2019-09-02 Thread Christian Weisgerber
Klemens Nanni: > - introduce ${MK} helper variable: better readability, less repitition > > Tested on amd64 with obviously no PLIST change. > Feedback? OK? MK isn't defined anywhere in this diff. -- Christian "naddy" Weisgerber na...@mips.inka.de

u-boot: separate build, assorted improvements

2019-09-02 Thread Klemens Nanni
Came here to tinker with one board in particular, but always building everything was taking so too much time, so I noticed `make BOARDS=foo' would build just that board... anyways, here's some cleanup that also enables us to split the +1G build assets from the ~90M sources: - use TLS - drop