Skip to content
Snippets Groups Projects
Commit b495423a authored by Felix Fietkau's avatar Felix Fietkau
Browse files

build: increase file descriptor count limit for the build, some systems (e.g....

build: increase file descriptor count limit for the build, some systems (e.g. Mac OS X default to 256, which is too little for some parallel builds)

Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 34023
parent 19a588f1
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,8 @@ export SCAN_COOKIE ...@@ -51,6 +51,8 @@ export SCAN_COOKIE
SUBMAKE:=umask 022; $(SUBMAKE) SUBMAKE:=umask 022; $(SUBMAKE)
ULIMIT_FIX=_limit=`ulimit -n`; [ "$$_limit" = "unlimited" -o "$$_limit" -ge 1024 ] || ulimit -n 1024;
prepare-mk: FORCE ; prepare-mk: FORCE ;
prepare-tmpinfo: FORCE prepare-tmpinfo: FORCE
...@@ -149,7 +151,7 @@ prereq:: prepare-tmpinfo .config ...@@ -149,7 +151,7 @@ prereq:: prepare-tmpinfo .config
echo "WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!"; \ echo "WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!"; \
fi \ fi \
) )
@+$(SUBMAKE) -r $@ @+$(ULIMIT_FIX) $(SUBMAKE) -r $@
help: help:
cat README cat README
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment