mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 13:47:48 +00:00
7a0e770be1
Remove orphanned Linux kernel patchsets. Initiate a kernel build scripts directory. Move the Linux kernel build script there. /trunk/scripts/build/kernel/linux.sh | 146 11 135 0 +++--------------------------------------- /trunk/scripts/crosstool.sh | 2 1 1 0 /trunk/steps.mk | 1 0 1 0 - /trunk/config/kernel/linux.in | 49 0 49 0 -------------- /trunk/config/kernel.in | 4 4 0 0 + 5 files changed, 16 insertions(+), 186 deletions(-)
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# Makefile for each steps
|
|
# Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
|
|
|
|
CT_STEPS := libc_check_config \
|
|
kernel_headers \
|
|
gmp \
|
|
mpfr \
|
|
binutils \
|
|
cc_core_pass_1 \
|
|
libc_headers \
|
|
libc_start_files \
|
|
cc_core_pass_2 \
|
|
libc \
|
|
cc \
|
|
libc_finish \
|
|
binutils_target \
|
|
gmp_target \
|
|
mpfr_target \
|
|
tools \
|
|
debug \
|
|
|
|
export CT_STEPS
|
|
|
|
$(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 ' list-steps - List all build steps'
|
|
|
|
list-steps:
|
|
@echo 'Available build steps, in order:'
|
|
@for step in $(CT_STEPS); do \
|
|
echo " - $${step}"; \
|
|
done
|
|
@echo 'Use "$(CT_NG) <step>" to execute only that step.'
|
|
@echo 'Use "$(CT_NG) +<step>" to execute up to that step.'
|
|
@echo 'Use "$(CT_NG) <step>+" to execute from that step onward.'
|