OSDN Git Service

Specialize for gce targets in openssh
authorKeun Soo Yim <yim@google.com>
Tue, 9 Feb 2016 21:24:06 +0000 (13:24 -0800)
committerKeun Soo Yim <yim@google.com>
Tue, 9 Feb 2016 22:13:31 +0000 (14:13 -0800)
global clfags are not supported so this is moving
from device/google/gce_x86/BoardConfig.mk

Change-Id: Ifc519a1de4b4be7ae50c21254a99c90bd92bc911

Android.mk

index 7b259d7..589194d 100644 (file)
@@ -125,6 +125,9 @@ LOCAL_MODULE := libssh
 LOCAL_CFLAGS+=-O3 -Wno-unused-parameter
 
 LOCAL_CFLAGS += -DGCE_PLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
+ifneq ($(filter gce_x86 calypso, $(TARGET_DEVICE)),)
+LOCAL_CFLAGS += -DANDROID_GCE -DSSHDIR=\"/var/run/ssh\"
+endif
 
 include $(BUILD_SHARED_LIBRARY)