mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 20:21:32 +02:00
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: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34023 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
24f9418f75
commit
127e78904d
@ -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
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user