From a48c74fb3d742eff87671668a9e6019cc17c3461 Mon Sep 17 00:00:00 2001 From: Vince Harron Date: Fri, 15 May 2015 16:55:30 -0700 Subject: [PATCH] Improved/clarified license guidance for GPL code. This messaging approved by Google Open Source Licensing. Change-Id: I717e8b5003fd856b3e2e6c28394591b5d6939b43 --- core/main.mk | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/core/main.mk b/core/main.mk index e04c4c71a6..5ee0ec13f4 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 \