From 08a943b16a3a2384ebce51619d4d8de0b1ebc0dd Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Tue, 10 Dec 2013 13:52:00 -0800 Subject: include LGPL projects in GPL archives LGPL projects need their source code distributed under very similar conditions to GPL and MPL, the only difference is the conditions under which they may be linked. It makes sense to include them in the GPL archive tarballs. Change-Id: I2c2df03906bfeee55566102aa688e4cdc283700b Signed-off-by: Andrew Boie --- core/base_rules.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'core/base_rules.mk') diff --git a/core/base_rules.mk b/core/base_rules.mk index 43f351a..673fdd8 100644 --- a/core/base_rules.mk +++ b/core/base_rules.mk @@ -84,11 +84,10 @@ endif # Add implicit tags. # # If the local directory or one of its parents contains a MODULE_LICENSE_GPL -# file, tag the module as "gnu". Search for "*_GPL*" and "*_MPL*" so that we can also -# find files like MODULE_LICENSE_GPL_AND_AFL but exclude files like -# MODULE_LICENSE_LGPL. +# file, tag the module as "gnu". Search for "*_GPL*", "*_LGPL*" and "*_MPL*" +# so that we can also find files like MODULE_LICENSE_GPL_AND_AFL # -gpl_license_file := $(call find-parent-file,$(LOCAL_PATH),MODULE_LICENSE*_GPL* MODULE_LICENSE*_MPL*) +gpl_license_file := $(call find-parent-file,$(LOCAL_PATH),MODULE_LICENSE*_GPL* MODULE_LICENSE*_MPL* MODULE_LICENSE*_LGPL*) ifneq ($(gpl_license_file),) my_module_tags += gnu ALL_GPL_MODULE_LICENSE_FILES := $(sort $(ALL_GPL_MODULE_LICENSE_FILES) $(gpl_license_file)) -- cgit v1.1