aboutsummaryrefslogtreecommitdiff
path: root/rules/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/common.mk')
-rw-r--r--rules/common.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/common.mk b/rules/common.mk
index 38dc39a..a10e41c 100644
--- a/rules/common.mk
+++ b/rules/common.mk
@@ -40,9 +40,12 @@ mach := $(shell uname -p)
mach32 :=
mach64 := amd64
+variants :=
+
define add-variant
destdir.$1 = $(workdir)/proto/$1
builddir.$1 = $(workdir)/build/$1
+variants += $1
endef
workdir := $(CURDIR)/work