From 1e7c3f00c6e44123dfb5b004c61760cac9bd8b1e Mon Sep 17 00:00:00 2001 From: "Christopher N. Hesse" Date: Wed, 12 Apr 2017 00:57:44 +0200 Subject: [PATCH] kernel: Fix broken C_INCLUDE_PATH for Darwin Commit 7fb9251dfcc7a0876c8fb906338452204942144a modified the expansion in an illegal way. Fix the broken env variable. Change-Id: Ib3029fa995d6a4b0416887a2ef2e4792c9e6bb27 (cherry picked from commit 90b437e784c19fc428c24891cc96705b89b786df) --- build/tasks/kernel.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/tasks/kernel.mk b/build/tasks/kernel.mk index c58475fa..68b42df7 100644 --- a/build/tasks/kernel.mk +++ b/build/tasks/kernel.mk @@ -261,8 +261,7 @@ define clean-module-folder endef ifeq ($(HOST_OS),darwin) - MAKE_FLAGS += C_INCLUDE_PATH=$(ANDROID_BUILD_TOP)/external/elfutils/libelf/ - MAKE_FLAGS += C_INCLUDE_PATH=/usr/local/opt/openssl/include + MAKE_FLAGS += C_INCLUDE_PATH=$(ANDROID_BUILD_TOP)/external/elfutils/libelf:/usr/local/opt/openssl/include MAKE_FLAGS += LIBRARY_PATH=/usr/local/opt/openssl/lib endif