steps.mk
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat May 03 17:51:16 2008 +0000 (2008-05-03)
changeset 486 92f6149c4275
parent 461 63586e9dcfc3
child 544 6b15ef33e8f2
permissions -rw-r--r--
Some people are reposrting that ftp does not work on their network, probably due to proxies, while http does work.
Some (most) of the sites we use toretrieve tarballs have http equivallent for the ftp service. Use http as a failover.
There's no solution for those sites that do not have such an http equivalent.

/trunk/scripts/build/binutils.sh | 5 2 3 0 ++---
/trunk/scripts/build/libc_glibc.sh | 4 2 2 0 ++--
/trunk/scripts/build/libc_uClibc.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 8 3 5 0 +++-----
/trunk/scripts/build/kernel_linux.sh | 7 2 5 0 ++-----
/trunk/scripts/build/cc_gcc.sh | 6 2 4 0 ++----
/trunk/scripts/build/gmp.sh | 4 1 3 0 +---
8 files changed, 14 insertions(+), 24 deletions(-)
     1 # Makefile for each steps
     2 # Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
     3 
     4 CT_STEPS := libc_check_config   \
     5             kernel_check_config \
     6             kernel_headers      \
     7             gmp                 \
     8             mpfr                \
     9             binutils            \
    10             cc_core_pass_1      \
    11             libc_headers        \
    12             libc_start_files    \
    13             cc_core_pass_2      \
    14             libc                \
    15             cc                  \
    16             libc_finish         \
    17             binutils_target     \
    18             tools               \
    19             debug               \
    20 
    21 export CT_STEPS
    22 
    23 $(CT_STEPS):
    24 	@$(CT_NG) RESTART=$@ STOP=$@ build
    25 
    26 $(patsubst %,+%,$(CT_STEPS)):
    27 	@$(CT_NG) STOP=$(patsubst +%,%,$@) build
    28 
    29 $(patsubst %,%+,$(CT_STEPS)):
    30 	@$(CT_NG) RESTART=$(patsubst %+,%,$@) build
    31 
    32 help-build::
    33 	@echo  '  liststeps          - List all build steps'
    34 
    35 liststeps:
    36 	@echo  'Available build steps, in order:'
    37 	@for step in $(CT_STEPS); do    \
    38 	     echo "  - $${step}";       \
    39 	 done