[0/2] another fixes for build under Android NDK

Submitted by Zhang, Ning A on April 1, 2019, 3:18 a.m.

Details

Message ID 20190401031831.18675-1-ning.a.zhang@intel.com
State New
Series "another fixes for build under Android NDK"
Headers show

Patch hide | download patch | download mbox

diff --git a/scripts/nmk/scripts/tools.mk b/scripts/nmk/scripts/tools.mk
index 485fe9f2..d756358d 100644
--- a/scripts/nmk/scripts/tools.mk
+++ b/scripts/nmk/scripts/tools.mk
@@ -4,9 +4,9 @@  ifndef ____nmk_defined__tools
 # System tools shorthands
 RM             := rm -f
 HOSTLD         ?= ld
-LD             := $(CROSS_COMPILE)$(HOSTLD)
+LD             ?= $(CROSS_COMPILE)$(HOSTLD)
 HOSTCC         ?= gcc
-CC             := $(CROSS_COMPILE)$(HOSTCC)
+CC             ?= $(CROSS_COMPILE)$(HOSTCC)

and due to Android NDK missing some function required by CRIU, I have added
a library "libmissing", not uploaded.

Comments

Cyrill Gorcunov April 1, 2019, 5:39 p.m.
On Mon, Apr 01, 2019 at 11:18:29AM +0800, ning.a.zhang@intel.com wrote:
> From: Zhang Ning <ning.a.zhang@intel.com>
> 
> build is passed in docker, but function is not verified under Android IA.
> 
> please help to review.
> 
> below is not upload, due they are not good to submit.
Reviewed-by: Cyrill Gorcunov <gorcunov@gmail.com>