mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
26713d4210
- ./configure --prefix=/some/place - make - make install - export PATH="${PATH}:/some/place/bin" - ct-ng <action>
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# 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):
|
|
@make -C "$(CT_TOP_DIR)" -f $(CT_MAKEFILE) RESTART=$@ STOP=$@
|
|
|
|
$(patsubst %,-%,$(CT_STEPS)):
|
|
@make -C "$(CT_TOP_DIR)" -f $(CT_MAKEFILE) STOP=$(patsubst -%,%,$@)
|
|
|
|
$(patsubst %,%-,$(CT_STEPS)):
|
|
@make -C "$(CT_TOP_DIR)" -f $(CT_MAKEFILE) RESTART=$(patsubst %-,%,$@)
|
|
|
|
help-build::
|
|
@echo ' liststeps - Lists all build steps'
|
|
|
|
liststeps:
|
|
@echo 'Available build steps, in order:'
|
|
@for step in $(CT_STEPS); do \
|
|
echo " - $${step}"; \
|
|
done
|