diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-15 09:09:04 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-15 09:09:04 +0000 |
commit | e9916d58e93c921b099170b4b5ffcd954b7da818 (patch) | |
tree | b78c1cafe2c96884451b334cb4f534bfa7c15898 /steps.mk | |
parent | caab647ef249b65c00e04ae9b269163fe4ce71d9 (diff) | |
download | crosstool-ng-e9916d58e93c921b099170b4b5ffcd954b7da818.tar.gz crosstool-ng-e9916d58e93c921b099170b4b5ffcd954b7da818.tar.bz2 crosstool-ng-e9916d58e93c921b099170b4b5ffcd954b7da818.zip |
Rename all Makefiles used by ct-ng into (something).mk, to avoid confusion.
Diffstat (limited to 'steps.mk')
-rw-r--r-- | steps.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/steps.mk b/steps.mk new file mode 100644 index 00000000..a89a7574 --- /dev/null +++ b/steps.mk @@ -0,0 +1,35 @@ +# Makefile for each steps +# Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr> + +CT_STEPS := libc_check_config \ + kernel_check_config \ + kernel_headers \ + binutils \ + cc_core_pass_1 \ + libc_headers \ + libc_start_files \ + cc_core_pass_2 \ + libfloat \ + libc \ + cc \ + libc_finish \ + tools \ + debug \ + +$(CT_STEPS): + @$(CT_NG) RESTART=$@ STOP=$@ build + +$(patsubst %,-%,$(CT_STEPS)): + @$(CT_NG) STOP=$(patsubst -%,%,$@) build + +$(patsubst %,%-,$(CT_STEPS)): + @$(CT_NG) RESTART=$(patsubst %-,%,$@) build + +help-build:: + @echo ' liststeps - List all build steps' + +liststeps: + @echo 'Available build steps, in order:' + @for step in $(CT_STEPS); do \ + echo " - $${step}"; \ + done |