Changeset 9b1bade in freewrt for Makefile


Ignore:
Timestamp:
Jun 13, 2006, 1:18:44 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
acf89eb
Parents:
43b940a
Message:

resolve a bad interaction between shell quoting
and shell evaluation of inside commands in the
$(HOSTCFLAGS) determination algorithm

it's a pity we have to be compatible to a lowest
common denominator of make and sh for all systems...

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r43b940a r9b1bade  
    3434
    3535VARS_TO_PASS=   HOSTCC='${CC}' MAKE='${GMAKE}' LC_ALL=C \
    36                 HOSTCFLAGS="$$(x=$$(echo \
     36                HOSTCFLAGS="$$(set +x; x=$$(echo \
    3737                    'f:\n\techo P:$${CFLAGS}\n.include <bsd.prog.mk>' | \
    3838                    ${MAKE} -f - f EXPERIMENTAL=yes 2>/dev/null | grep '^P:' \
     
    4343
    4444v: prereq
    45         @echo '${GMAKE_INV} all V=99' >>make.log
    46         ${GMAKE_INV} all V=99 2>&1 | tee -a make.log
     45        (set -x; ${GMAKE_INV} all V=99) 2>&1 | tee -a make.log
    4746
    4847verbose: prereq
Note: See TracChangeset for help on using the changeset viewer.