summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-06 17:16:17 +0200
committerGitHub <noreply@github.com>2024-05-06 17:16:17 +0200
commit6a8b976d49842fb51b01e96b9b23f4431575b9fc (patch)
treef39933179d860be1c4ebe2f9736c782b62022ae7 /Makefile
parent2da9d989d17e90d12a6d22222270729531721a5e (diff)
parent255bf960995ec072ba7b72fe2d926cfd986adc2f (diff)
downloadvyos-build-6a8b976d49842fb51b01e96b9b23f4431575b9fc.tar.gz
vyos-build-6a8b976d49842fb51b01e96b9b23f4431575b9fc.zip
Merge pull request #593 from c-po/flavor-backport
build: backport of new flavor build system
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index ebb37075..62587ced 100644
--- a/Makefile
+++ b/Makefile
@@ -7,19 +7,8 @@ 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
-
-.PHONY: prepare-package-env
-.ONESHELL:
-prepare-package-env:
- @set -e
- @scripts/pbuilder-config
- @scripts/pbuilder-setup
+%:
+ VYOS_TEMPLATE_DIR=`pwd`/packages/vyos-1x/data/templates/ ./build-vyos-image $*
.PHONY: checkiso
.ONESHELL: