Changeset 3c1c522 in freewrt for Makefile


Ignore:
Timestamp:
Jun 18, 2006, 11:23:45 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
4c719e6
Parents:
a265d61
Message:

obviously, perl isn't compatible either. well, what did
you expect of trying to throw an espie?

on systems without sed --in-place in --help, use a shell
script which emulates that behaviour. (requires /usr/bin/sed)

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    ra265d61 r3c1c522  
    117117                chmod 555 lbin/uname; \
    118118        fi
     119        @if ! sed --help 2>&1 | fgrep in-place >/dev/null 2>&1; then \
     120                cp scripts/sed.bsd lbin/sed; \
     121                chmod 555 lbin/sed; \
     122        fi
    119123        @echo "BASH=$$(which bash)" >>lbin/prereq.mk
    120124        @echo 'HOSTCC=${CC}' >>lbin/prereq.mk
Note: See TracChangeset for help on using the changeset viewer.