From cb0d1fef8c7f9a9bfe880554c185eb14d52ebbd6 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 22 May 2007 20:46:07 +0000 Subject: Implement a restart facility. If you select to debug ct-ng, then you have two new options: - DEBUG_CT_PAUSE_STEPS : pause between every steps, - DEBUG_CT_SAVE_STEPS : save state between every steps. To restart a saved state, just set the RESTART make variable when calling make: - make RESTART= --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 04683902..96d00cf2 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,8 @@ export CT_TOP_DIR=$(shell pwd) # This is crosstool-ng version string export CT_VERSION=$(shell cat $(CT_TOP_DIR)/version) +export CT_RESTART=$(RESTART) + .PHONY: all all: build @@ -32,6 +34,7 @@ include $(CT_TOP_DIR)/tools/Makefile help:: @echo 'Execute "make" or "make all" to build all targets marked with [*]' + @echo 'Pass RESTART= to restart a previously saved step (read doc first!)' .config: $(CONFIG_FILES) $(CT_TOP_DIR)/config/debug.in @make oldconfig -- cgit v1.2.3