aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeun Soo Yim <yim@google.com>2016-02-09 13:24:06 -0800
committerKeun Soo Yim <yim@google.com>2016-02-11 06:44:52 +0000
commiteab54b09351b61c6d35e8d158bc9dac140e85d6c (patch)
tree8fad3d833ff48d548f9cb858860d63b1907d9598
parenta3a40d7f4564dd662e960d21464917a0c3e2c9bf (diff)
downloadopenssh-eab54b09351b61c6d35e8d158bc9dac140e85d6c.tar.gz
Specialize for gce targets in openssh
global clfags are not supported so this is moving from device/google/gce_x86/BoardConfig.mk Change-Id: Ifc519a1de4b4be7ae50c21254a99c90bd92bc911 (cherry picked from commit 55b26ed099521b8db7c0ac80377c9a4297d2298f)
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 7b259d730..589194dc7 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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)