Changeset 4ed535c in freewrt


Ignore:
Timestamp:
Jun 18, 2006, 11:58:12 AM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
8d0b68e
Parents:
50275dc
Message:

On Debian, gmake 3.80 "seems to be" enough.
Allow the user to override the version check,
point to the FAQ.

requested by and "okay, cool" wbx@

git-svn-id: svn://www.freewrt.org/trunk/freewrt@78 afb5a338-a214-0410-bd46-81f09a774fd1

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r50275dc r4ed535c  
    8080        @${GMAKE_INV} world
    8181
     82prereq-noerror:
     83        @${MAKE} prereq NO_ERROR=1
     84
     85NO_ERROR=0
    8286prereq:
    8387        @-rm -rf prereq lbin
     
    114118        @echo "export HOSTCC HOSTCFLAGS LC_ALL MAKE OStype PATH" \
    115119            >>lbin/prereq.mk
    116         @bash scripts/scan-tools.sh
     120        @env NO_ERROR=${NO_ERROR} bash scripts/scan-tools.sh
    117121        @touch $@
  • scripts/scan-tools.sh

    r50275dc r4ed535c  
    4242export PATH=$topdir/lbin:$PATH
    4343
     44if [[ $NO_ERROR != @(0|1) ]]; then
     45        echo Please do not invoke this script directly!
     46        exit 1
     47fi
     48
    4449set -e
    4550rm -rf $topdir/lbin/tmp
     
    8489        echo GNU make too old.
    8590        echo Please install GNU make 3.81 or higher to continue.
    86         exit 1
     91        if [[ $NO_ERROR = 1 ]]; then
     92                echo WARNING: should abort here, continuing...
     93        else
     94                echo You can override this check, see http://www.freewrt.org/faq for details.
     95                exit 1
     96        fi
    8797fi
    8898
Note: See TracChangeset for help on using the changeset viewer.