aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/ips-manifest.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/ips-manifest.mk b/rules/ips-manifest.mk
index ea0332c..4184cb5 100644
--- a/rules/ips-manifest.mk
+++ b/rules/ips-manifest.mk
@@ -34,7 +34,7 @@ ips-version = $(version)
# Substitutions in IPS manifest:
makefile-vars := $(shell sed -n 's/^ *\([a-zA-Z][-_0-9a-zA-Z]*\) *[:?]*=.*$$/\1/p' Makefile | sort -u)
-pkg-define = $(foreach _,$(makefile-vars),-D $(_)="$($(_))")
+pkg-define += $(foreach _,$(makefile-vars),-D $(_)="$($(_))")
pkg-define += -D ips-version="$(ips-version)"
@@ -56,7 +56,8 @@ pkg-define += $(foreach _,$(variants),-D protodir.$(_)="$(protodir-base.$(_))")
pkg-define += $(foreach _,$(variants),-D builddir.$(_)="$(builddir-base.$(_))")
# Where to find files:
-pkg-protos = $(foreach _,$(variants),-d "$(protodir.$(_))")
+pkg-protos = $(protodirs:%=-d "%")
+pkg-protos += $(foreach _,$(variants),-d "$(protodir.$(_))")
pkg-protos += -d .
transformations := \