summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2017-08-21 18:49:34 -0400
committerDaniil Baturin <daniil@baturin.org>2017-08-21 18:49:34 -0400
commitac391c82d1f0c8d380e31386472c5aec563d9e56 (patch)
tree7229d7728b4e6be11dbf75c253dbe0a14b3c2724 /Makefile
parentf4518abe2e61fb8bdeeb38bd15a2bee8e603eaa1 (diff)
downloadvyos-build-ac391c82d1f0c8d380e31386472c5aec563d9e56.tar.gz
vyos-build-ac391c82d1f0c8d380e31386472c5aec563d9e56.zip
T361: check the build environment setup in ./configure before it can even get to make.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d3c1beec..8aa082ce 100644
--- a/Makefile
+++ b/Makefile
@@ -5,14 +5,15 @@ all:
@echo "Make what specifically?"
@echo "The most common target is 'iso'"
+.PHONY: check_build_config
+check_build_config:
+ @scripts/check-config
+
.PHONY: prepare
prepare:
@set -e
@echo "Starting VyOS ISO image build"
- @scripts/check-build-env
- @scripts/check-config
-
rm -rf build/config/*
@scripts/live-build-config
cp -r data/live-build-config/* build/config/
@@ -24,7 +25,7 @@ prepare:
.PHONY: iso
.ONESHELL:
-iso: clean prepare
+iso: check_build_config clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
cd $(build_dir)