From 73eda209f52224c6a21731c718474b438439f29c Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 20 Nov 2012 18:00:07 +0400 Subject: Fix adding source dir --- rules/ips-manifest.mk | 5 +++-- 1 file 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 := \ -- cgit v1.2.3