From 1c729e9be05b8477fc753118707abc9ec0efbb6a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 17 Oct 2024 14:25:02 +0300 Subject: [PATCH 1/5] adding bootstrap... Signed-off-by: Alex A. Naanou --- Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 55d9926..5dee09a 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,14 @@ check: check-message $(foreach dep,$(DEPENDENCIES),require($(dep))) FORCE: +%-bootstrap: + BOOTSTRAP=1 make $* + + +%-bootstrap-clean: + BOOTSTRAP_CLEAN=1 make $* + + %: config %/make.sh FORCE $*/make.sh @@ -97,7 +105,12 @@ gate: gate-traefik # ...not yet sure of the best way to do this... # .PHONY: bootstrap -bootstrap: host +bootstrap: host-bootstrap gate-bootstrap \ + ns \ + bootstrap-clean + +.PHONY: bootstrap-clean +bootstrap-clean: host-bootstrap-clean From 254b3df01d573c5ad309d07cead756ea3018bc75 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 17 Oct 2024 14:38:01 +0300 Subject: [PATCH 2/5] ... Signed-off-by: Alex A. Naanou --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5dee09a..6f0d1fc 100644 --- a/Makefile +++ b/Makefile @@ -60,12 +60,12 @@ check: check-message $(foreach dep,$(DEPENDENCIES),require($(dep))) FORCE: -%-bootstrap: - BOOTSTRAP=1 make $* +%-bootstrap: export BOOTSTRAP=1 +%-bootstrap: % -%-bootstrap-clean: - BOOTSTRAP_CLEAN=1 make $* +%-bootstrap-clean: export BOOTSTRAP_CLEAN=1 +%-bootstrap-clean: % %: config %/make.sh FORCE From d5014fd7cf5027338b1c5f14c4478212b95d0693 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 17 Oct 2024 14:42:04 +0300 Subject: [PATCH 3/5] ... Signed-off-by: Alex A. Naanou --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 6f0d1fc..f489012 100644 --- a/Makefile +++ b/Makefile @@ -62,10 +62,12 @@ FORCE: %-bootstrap: export BOOTSTRAP=1 %-bootstrap: % + echo %-bootstrap-clean: export BOOTSTRAP_CLEAN=1 %-bootstrap-clean: % + echo %: config %/make.sh FORCE From b600dd763c8f49c63147de709b1c01aaf0cc35c2 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 17 Oct 2024 14:43:50 +0300 Subject: [PATCH 4/5] ... Signed-off-by: Alex A. Naanou --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f489012..5013313 100644 --- a/Makefile +++ b/Makefile @@ -62,12 +62,12 @@ FORCE: %-bootstrap: export BOOTSTRAP=1 %-bootstrap: % - echo + true %-bootstrap-clean: export BOOTSTRAP_CLEAN=1 %-bootstrap-clean: % - echo + true %: config %/make.sh FORCE From bf48fd61b5f1f438be5b4edd26f0ac8cd501c0f5 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 17 Oct 2024 15:53:57 +0300 Subject: [PATCH 5/5] notes... Signed-off-by: Alex A. Naanou --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5013313..85078d4 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,7 @@ check: check-message $(foreach dep,$(DEPENDENCIES),require($(dep))) FORCE: +# XXX should thisbe an env var or an arg to make.sh??? %-bootstrap: export BOOTSTRAP=1 %-bootstrap: % true