mirror of
http://galexander.org/git/simplesshd.git
synced 2025-01-01 02:40:52 +00:00
add sftp-server to build even though it won't build yet...
This commit is contained in:
parent
7e0a344210
commit
e53d852b98
6
doit
6
doit
@ -1 +1,5 @@
|
|||||||
ndk-build -j8 && mv libs/armeabi/scp libs/armeabi/libscp.so && ant debug && cat bin/SimpleSSHD-debug.apk | ssh roach 'cat > /sdcard/buh.apk; source .profile; pm install -r /sdcard/buh.apk'
|
ndk-build -j8 &&
|
||||||
|
mv libs/armeabi/scp libs/armeabi/libscp.so &&
|
||||||
|
mv libs/armeabi/sftp-server libs/armeabi/libsftp-server.so &&
|
||||||
|
ant debug &&
|
||||||
|
cat bin/SimpleSSHD-debug.apk | ssh roach 'cat > /sdcard/buh.apk; source .profile; pm install -r /sdcard/buh.apk'
|
||||||
|
@ -490,6 +490,23 @@ LOCAL_C_INCLUDES:= dropbear dropbear/libtomcrypt/src/headers dropbear/libtommath
|
|||||||
include $(BUILD_EXECUTABLE)
|
include $(BUILD_EXECUTABLE)
|
||||||
|
|
||||||
|
|
||||||
|
# build separate sftp executable
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_CFLAGS :=
|
||||||
|
LOCAL_MODULE := sftp-server
|
||||||
|
|
||||||
|
OPENSSH_PATH := ../openssh
|
||||||
|
LOCAL_SRC_FILES := $(OPENSSH_PATH)/sftp-server-main.c \
|
||||||
|
$(OPENSSH_PATH)/sftp-server.c \
|
||||||
|
$(OPENSSH_PATH)/sftp-common.c
|
||||||
|
LOCAL_C_INCLUDES:= openssh
|
||||||
|
# LOCAL_LDLIBS :=
|
||||||
|
|
||||||
|
include $(BUILD_EXECUTABLE)
|
||||||
|
|
||||||
|
|
||||||
# build separate libz static library
|
# build separate libz static library
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
Loading…
Reference in New Issue
Block a user