scripts/toolchain-config.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jan 26 22:43:08 2009 +0000 (2009-01-26)
changeset 1156 b8e4a98bbdf3
parent 894 c444ce4b51b9
child 1189 5c20d52c8270
permissions -rw-r--r--
Finally used the discovered paths from ./configure in scripts/crosstool-NG.sh:
- fix Makefile to really, really not used built-in rules and variables
- have scripts/crosstool-NG.sh generated from scripts/crosstool-NG.sh.in
- create a bin-overide directory ( in ${CT_WORK_DIR}/bin ) that contains shell wrappers to the actual discovered tools

/trunk/scripts/crosstool-NG.sh.in | 27 23 4 0 +++++++++++++++++++++---
/trunk/Makefile.in | 50 48 2 0 +++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 71 insertions(+), 6 deletions(-)
yann@894
     1
#!/bin/sh
yann@894
     2
yann@894
     3
SKIP_ME="### CT_NG SKIP ME ###"
yann@894
     4
skip_me=$(($(cat "${0}" |grep --binary-files=text -o -b -E "^${SKIP_ME}$" |cut -d : -f 1)+${#SKIP_ME}+1))
yann@894
     5
dd if="${0}" bs=${skip_me} skip=1 2>/dev/null |bzcat
yann@894
     6
exit 0
yann@894
     7
yann@894
     8
### CT_NG SKIP ME ###