summaryrefslogtreecommitdiffstats
path: root/core/main.mk
diff options
context:
space:
mode:
authorVince Harron <vharron@google.com>2015-05-15 16:55:30 -0700
committerVince Harron <vharron@google.com>2015-05-15 17:01:01 -0700
commita48c74fb3d742eff87671668a9e6019cc17c3461 (patch)
tree1ff946d1205e5991ff4c56aa24d57dea3d91a160 /core/main.mk
parent09ee0a4252dbfd811f8345ab095c95ab78a1595f (diff)
downloadbuild-a48c74fb3d742eff87671668a9e6019cc17c3461.zip
build-a48c74fb3d742eff87671668a9e6019cc17c3461.tar.gz
build-a48c74fb3d742eff87671668a9e6019cc17c3461.tar.bz2
Improved/clarified license guidance for GPL code.
This messaging approved by Google Open Source Licensing. Change-Id: I717e8b5003fd856b3e2e6c28394591b5d6939b43
Diffstat (limited to 'core/main.mk')
-rw-r--r--core/main.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/core/main.mk b/core/main.mk
index e04c4c7..5ee0ec1 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -735,9 +735,14 @@ endif
#$(error filtered out
# $(filter-out $(modules_to_install),$(old_modules_to_install)))
-# Don't include any GNU targets in the SDK. It's ok (and necessary)
-# to build the host tools, but nothing that's going to be installed
-# on the target (including static libraries).
+# Don't include any GNU General Public License shared objects or static
+# libraries in SDK images. GPL executables (not static/dynamic libraries)
+# are okay if they don't link against any closed source libraries (directly
+# or indirectly)
+
+# It's ok (and necessary) to build the host tools, but nothing that's
+# going to be installed on the target (including static libraries).
+
ifdef is_sdk_build
target_gnu_MODULES := \
$(filter \