Changeset 3781 for trunk/freewrt/mk

Show
Ignore:
Timestamp:
07/27/08 03:28:23 (4 months ago)
Author:
n0-1
Message:

fix for systems with a shell-builtin ulimit only

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/build.mk

    r3780 r3781  
    1212endif 
    1313 
    14 ifneq ($(shell ulimit -d),unlimited) 
     14# FIXME: ugly double shell spawn - helps finding the shell-builtin ulimit 
     15ifneq ($(shell echo $$(ulimit -d)),unlimited) 
    1516ifneq ($(shell if (( $$(ulimit -d) < 250000 )); then echo warn; else echo ok; fi),ok) 
    1617$(error your ulimit datasize is too small, use 250 MB or more)