mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
build: T3664: add a parameterized make rule for build targets
to simplify the now-rather-tricky build script invocation
This commit is contained in:
parent
c535510bbc
commit
29288652ea
10
Makefile
10
Makefile
@ -7,12 +7,10 @@ all:
|
|||||||
@echo "Make what specifically?"
|
@echo "Make what specifically?"
|
||||||
@echo "The most common target is 'iso'"
|
@echo "The most common target is 'iso'"
|
||||||
|
|
||||||
.PHONY: iso
|
%:
|
||||||
.ONESHELL:
|
sudo \
|
||||||
iso: clean
|
VYOS_TEMPLATE_DIR=`pwd`/vyos-1x/data/templates/ \
|
||||||
set -o pipefail
|
./build-vyos-image --reuse-iso vyos-1.5-rolling-202404130016-amd64.iso $*
|
||||||
@./build-vyos-image iso
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
.PHONY: checkiso
|
.PHONY: checkiso
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user