diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-04-15 17:17:49 +0000 |
---|---|---|
committer | Daniil Baturin <daniil@vyos.io> | 2024-04-15 17:17:49 +0000 |
commit | 29288652eaa245ccf7fe591f76460ef228d7dd4d (patch) | |
tree | 88fff792fd138d3d2305eea21a891ef1bca43328 /Makefile | |
parent | c535510bbc447abcf3b0e514bb6620ebf14ec8f1 (diff) | |
download | vyos-build-29288652eaa245ccf7fe591f76460ef228d7dd4d.tar.gz vyos-build-29288652eaa245ccf7fe591f76460ef228d7dd4d.zip |
build: T3664: add a parameterized make rule for build targets
to simplify the now-rather-tricky build script invocation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -7,12 +7,10 @@ all: @echo "Make what specifically?" @echo "The most common target is 'iso'" -.PHONY: iso -.ONESHELL: -iso: clean - set -o pipefail - @./build-vyos-image iso - exit 0 +%: + sudo \ + VYOS_TEMPLATE_DIR=`pwd`/vyos-1x/data/templates/ \ + ./build-vyos-image --reuse-iso vyos-1.5-rolling-202404130016-amd64.iso $* .PHONY: checkiso .ONESHELL: |