From b43de5f86205bf83ebcd59b30528b2db58bb1fae Mon Sep 17 00:00:00 2001 From: Ivan Afonichev Date: Sun, 31 Jul 2011 23:55:30 +0400 Subject: [PATCH] Added optflags. More devices. Added BSD --- 51-android.rules | 2 ++ adb-Makefile | 2 +- android-tools.spec | 12 +++++++++--- fastboot-Makefile | 2 +- sources | 2 +- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/51-android.rules b/51-android.rules index c1b0a81..148dbe6 100644 --- a/51-android.rules +++ b/51-android.rules @@ -97,3 +97,5 @@ SUBSYSTEM=="usb", SYSFS{idVendor}=="1bbb", MODE="0666" # Lenovo SUBSYSTEM=="usb", SYSFS{idVendor}=="2006", MODE="0666" +# Vizio +SUBSYSTEM=="usb", SYSFS{idVendor}=="e040", MODE="0666" diff --git a/adb-Makefile b/adb-Makefile index dedef98..fcde5e3 100644 --- a/adb-Makefile +++ b/adb-Makefile @@ -36,7 +36,7 @@ CPPFLAGS+= -D_XOPEN_SOURCE CPPFLAGS+= -I. CPPFLAGS+= -I../include -CFLAGS+= -O2 -Wall -Wno-unused-parameter +CFLAGS+= $(RPM_OPT_FLAGS) LIBS= -lrt -lpthread -lz CC= $(TOOLCHAIN)gcc diff --git a/android-tools.spec b/android-tools.spec index 5b6ad94..be75b4e 100644 --- a/android-tools.spec +++ b/android-tools.spec @@ -1,5 +1,5 @@ -%global date 20110726 -%global git_commit 212282c +%global date 20110731 +%global git_commit 810cf41 %global packdname core-%{git_commit} Name: android-tools @@ -9,7 +9,7 @@ Release: 1%{?dist} Summary: Android platform tools (adb, fastboot, etc) Group: Applications/System -License: ASL 2.0 +License: ASL 2.0 and BSD URL: http://www.android.com/ Source0: http://android.git.kernel.org/?p=platform/system/core.git;a=snapshot;h=%{git_commit};sf=tgz;/%{packdname}.tar.gz Source1: core-Makefile @@ -57,6 +57,12 @@ make install DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir} %changelog +* Sun Jul 31 2011 Ivan Afonichev - 0:20110731.810cf41-1 +- Update to upstream git commit 810cf41 +- Fix License +- Use optflags +- Added more udev devices + * Tue Jul 26 2011 Ivan Afonichev - 0:20110726.212282c-1 - Update to upstream git commit 212282c diff --git a/fastboot-Makefile b/fastboot-Makefile index 1ba4f2d..70ad646 100644 --- a/fastboot-Makefile +++ b/fastboot-Makefile @@ -20,7 +20,7 @@ CPPFLAGS+= -I../include CPPFLAGS+= -I../mkbootimg -CFLAGS+= -O2 -Wall -Wno-unused-parameter +CFLAGS+= $(RPM_OPT_FLAGS) LIBS= -lrt -lpthread -lz CC= $(TOOLCHAIN)gcc diff --git a/sources b/sources index 56f6268..bd8f214 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b3c2e0327466c13f9d4337715d0a8db8 core-212282c.tar.gz +8d85e3751352858a1e8dfa0642ff44c6 core-810cf41.tar.gz