X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Ftoplevel.mk;h=19ed8cb1d9daa55c90e544c01543753ee5d25e13;hb=6553643c12188cb7dfb4fa119f8c18d1f50db27b;hp=4bbc58e11d4ff0f0be2f6be8a20f14c6544ba19f;hpb=cc5c77bb4a7240537ce921d4e7b9199d4e27a184;p=openwrt.git diff --git a/include/toplevel.mk b/include/toplevel.mk index 4bbc58e11d..19ed8cb1d9 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -1,12 +1,12 @@ # Makefile for OpenWrt # -# Copyright (C) 2007-2011 OpenWrt.org +# Copyright (C) 2007-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -RELEASE:=Attitude Adjustment +RELEASE:=Barrier Breaker PREP_MK= OPENWRT_BUILD= QUIET=0 include $(TOPDIR)/include/verbose.mk @@ -51,6 +51,8 @@ export SCAN_COOKIE SUBMAKE:=umask 022; $(SUBMAKE) +ULIMIT_FIX=_limit=`ulimit -n`; [ "$$_limit" = "unlimited" -o "$$_limit" -ge 1024 ] || ulimit -n 1024; + prepare-mk: 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!"; \ fi \ ) - @+$(SUBMAKE) -r $@ + @+$(ULIMIT_FIX) $(SUBMAKE) -r $@ help: cat README