summaryrefslogtreecommitdiffstats
path: root/core/definitions.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2011-03-03 13:29:38 -0800
committerYing Wang <wangying@google.com>2011-03-03 14:57:10 -0800
commita67ce69e9a1ff267cb3c01bdd3214b6c68aa6f63 (patch)
tree2e2c53e241a5071530474e47aeb2b1f875519f83 /core/definitions.mk
parent1bc81fc5231162a80a2c976ad5f80ac9b4b02694 (diff)
downloadbuild-a67ce69e9a1ff267cb3c01bdd3214b6c68aa6f63.zip
build-a67ce69e9a1ff267cb3c01bdd3214b6c68aa6f63.tar.gz
build-a67ce69e9a1ff267cb3c01bdd3214b6c68aa6f63.tar.bz2
Handle MODULE_LICENSE_MPL the same as MODULE_LICENSE_GPL.
Change-Id: Iefc6df3f3401a591f53ec3f22202044c60acf460
Diffstat (limited to 'core/definitions.mk')
-rw-r--r--core/definitions.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index 2875e28..6db9d8f 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -339,7 +339,7 @@ endef
define find-parent-file
$(strip \
- $(eval _fpf := $(wildcard $(strip $(1))/$(strip $(2)))) \
+ $(eval _fpf := $(wildcard $(foreach f, $(2), $(strip $(1))/$(f)))) \
$(if $(_fpf),$(_fpf), \
$(if $(filter-out ./ .,$(1)), \
$(call find-parent-file,$(patsubst %/,%,$(dir $(1))),$(2)) \