steps.mk
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jun 30 21:41:32 2008 +0000 (2008-06-30)
changeset 636 92f2e82084cd
parent 544 6b15ef33e8f2
child 847 af75fc1fe0fc
permissions -rw-r--r--
Update samples to the latest architecture framework.

/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 57 32 25 0 +++++++-----
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 60 34 26 0 +++++++------
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 57 32 25 0 +++++++-----
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 46 26 20 0 ++++++----
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 56 30 26 0 ++++++------
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 53 27 26 0 ++++++-----
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 49 29 20 0 ++++++-----
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 51 26 25 0 ++++++-----
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 44 21 23 0 ++++------
13 files changed, 349 insertions(+), 296 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             gmp_target          \
    19             mpfr_target         \
    20             tools               \
    21             debug               \
    22 
    23 export CT_STEPS
    24 
    25 $(CT_STEPS):
    26 	@$(CT_NG) RESTART=$@ STOP=$@ build
    27 
    28 $(patsubst %,+%,$(CT_STEPS)):
    29 	@$(CT_NG) STOP=$(patsubst +%,%,$@) build
    30 
    31 $(patsubst %,%+,$(CT_STEPS)):
    32 	@$(CT_NG) RESTART=$(patsubst %+,%,$@) build
    33 
    34 help-build::
    35 	@echo  '  list-steps         - List all build steps'
    36 
    37 list-steps:
    38 	@echo  'Available build steps, in order:'
    39 	@for step in $(CT_STEPS); do    \
    40 	     echo "  - $${step}";       \
    41 	 done
    42 	@echo  'Use "$(CT_NG) <step>" to execute only that step.'
    43 	@echo  'Use "$(CT_NG) +<step>" to execute up to that step.'
    44 	@echo  'Use "$(CT_NG) <step>+" to execute from that step onward.'