aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/adb/patches/001-create_Makefile.patch
diff options
context:
space:
mode:
authorHenryk Heisig <hyniu@o2.pl>2016-10-06 18:11:17 +0200
committerJohn Crispin <john@phrozen.org>2016-12-22 15:03:31 +0100
commit363c3e68acec79f25deae49d2a8ecc45ec752d78 (patch)
tree02fda6499ca3020cd189ddb13fec0c3bbbc4ebff /package/utils/adb/patches/001-create_Makefile.patch
parentc8043137bbd323b1490ae8613eab915ba9c138ee (diff)
downloadupstream-363c3e68acec79f25deae49d2a8ecc45ec752d78.tar.gz
upstream-363c3e68acec79f25deae49d2a8ecc45ec752d78.tar.bz2
upstream-363c3e68acec79f25deae49d2a8ecc45ec752d78.zip
adb: new package "Android Debug Bridge"
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Diffstat (limited to 'package/utils/adb/patches/001-create_Makefile.patch')
-rw-r--r--package/utils/adb/patches/001-create_Makefile.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/package/utils/adb/patches/001-create_Makefile.patch b/package/utils/adb/patches/001-create_Makefile.patch
new file mode 100644
index 0000000000..be9f5f497a
--- /dev/null
+++ b/package/utils/adb/patches/001-create_Makefile.patch
@@ -0,0 +1,45 @@
+--- /dev/null
++++ b/adb/Makefile 2016-10-19 15:28:03.421194137 +0200
+@@ -0,0 +1,42 @@
++SRCS+= adb.c
++SRCS+= adb_auth_host.c
++SRCS+= adb_client.c
++SRCS+= commandline.c
++SRCS+= console.c
++SRCS+= fdevent.c
++SRCS+= file_sync_client.c
++SRCS+= get_my_path_linux.c
++SRCS+= services.c
++SRCS+= sockets.c
++SRCS+= transport.c
++SRCS+= transport_local.c
++SRCS+= transport_usb.c
++SRCS+= usb_linux.c
++
++VPATH+= ../libcutils
++SRCS+= load_file.c
++SRCS+= socket_inaddr_any_server.c
++SRCS+= socket_local_client.c
++SRCS+= socket_local_server.c
++SRCS+= socket_loopback_client.c
++SRCS+= socket_loopback_server.c
++SRCS+= socket_network_client.c
++
++VPATH+= ../libzipfile
++SRCS+= centraldir.c
++SRCS+= zipfile.c
++
++CPPFLAGS+= -DADB_HOST=1
++CPPFLAGS+= -DHAVE_FORKEXEC=1
++CPPFLAGS+= -I.
++CPPFLAGS+= -I../include
++CPPFLAGS+= -D_FILE_OFFSET_BITS=64
++
++LIBS+= -lcrypto -lpthread -lz
++
++OBJS= $(SRCS:.c=.o)
++
++all: adb
++
++adb: $(OBJS)
++ $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS)