aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/common.mk b/rules/common.mk
index fa30a57..d130fc0 100644
--- a/rules/common.mk
+++ b/rules/common.mk
@@ -24,6 +24,8 @@
# include guard:
ifeq (,$(__common_mk))
+.SECONDEXPANSION:
+
skip := \#
build32 := $(skip)
@@ -61,6 +63,8 @@ install-$1-stamp : build-$1-stamp
variants += $1
%-$1-stamp: variant = $1
+%-$1-stamp: protodir = $$(protodir.$1)
+%-$1-stamp: builddir = $$(builddir.$1)
endef