[Buildroot] make creates a memory overflow
Michael Fischer
mf at go-sys.de
Fri Oct 9 13:55:38 UTC 2020
Hello all,
I use VirtualBox with SuSE linux to compile Buildroot.
For my other projects I use the default make settings -j
/etc/environment
export MAKEOPTS='-j'
export MAKEFLAGS='-j'
When I use this, than buildroot crashes the Virtualbox with a memory overflow. > 8GB
I found this in the /package/Makefile
MAKE1 := $(HOSTMAKE) -j1
override MAKE = $(HOSTMAKE) \
$(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS))
I'm not sure but I think this should be
$(if $(findstring j,$(filter-out -j%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS))
Best regards
Michael.
More information about the buildroot
mailing list