2007-05-27 20:22:06 +00:00
|
|
|
# Makefile for each steps
|
|
|
|
# Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
|
|
|
|
|
2008-04-28 07:38:36 +00:00
|
|
|
CT_STEPS := libc_check_config \
|
|
|
|
kernel_check_config \
|
|
|
|
kernel_headers \
|
2008-04-30 10:43:41 +00:00
|
|
|
gmp \
|
|
|
|
mpfr \
|
2008-04-28 07:38:36 +00:00
|
|
|
binutils \
|
|
|
|
cc_core_pass_1 \
|
|
|
|
libc_headers \
|
|
|
|
libc_start_files \
|
|
|
|
cc_core_pass_2 \
|
|
|
|
libc \
|
|
|
|
cc \
|
|
|
|
libc_finish \
|
|
|
|
binutils_target \
|
|
|
|
tools \
|
|
|
|
debug \
|
|
|
|
|
|
|
|
export CT_STEPS
|
2007-06-26 21:23:05 +00:00
|
|
|
|
|
|
|
$(CT_STEPS):
|
2007-07-04 22:18:19 +00:00
|
|
|
@$(CT_NG) RESTART=$@ STOP=$@ build
|
2007-05-27 20:22:06 +00:00
|
|
|
|
2007-07-30 19:35:39 +00:00
|
|
|
$(patsubst %,+%,$(CT_STEPS)):
|
|
|
|
@$(CT_NG) STOP=$(patsubst +%,%,$@) build
|
2007-05-27 20:22:06 +00:00
|
|
|
|
2007-07-30 19:35:39 +00:00
|
|
|
$(patsubst %,%+,$(CT_STEPS)):
|
|
|
|
@$(CT_NG) RESTART=$(patsubst %+,%,$@) build
|
2007-06-26 21:23:05 +00:00
|
|
|
|
|
|
|
help-build::
|
2007-08-15 14:59:37 +00:00
|
|
|
@echo ' liststeps - List all build steps'
|
2007-06-26 21:23:05 +00:00
|
|
|
|
|
|
|
liststeps:
|
|
|
|
@echo 'Available build steps, in order:'
|
|
|
|
@for step in $(CT_STEPS); do \
|
|
|
|
echo " - $${step}"; \
|
|
|
|
done
|