OSDN Git Service

Change pointercal's path to writable area.
authorBryan Hundven <bryanhundven@gmail.com>
Wed, 2 Dec 2009 08:59:07 +0000 (00:59 -0800)
committerYi Sun <ysun@yi-machine.(none)>
Sat, 5 Dec 2009 05:59:39 +0000 (21:59 -0800)
/system/etc is on a read-only partition. /data should be readable and
writable by uid:1000 and gid:1000.

plugins/Android.mk
tests/Android.mk

index ee2e2cf..79500b6 100644 (file)
@@ -6,7 +6,7 @@ C_INCLUDES += \
        external/tslib/src \
        external/tslib/plugins
 
-CFLAGS += -DTS_POINTERCAL=\"/system/etc/pointercal\" \
+CFLAGS += -DTS_POINTERCAL=\"/data/system/tslib/pointercal\" \
          -DTS_ENV=\"/system/etc/ts.env\" \
          -DTSLIB_INTERNAL \
          -DGCC_HASCLASSVISIBILITY
index 332786b..f75880f 100644 (file)
@@ -6,7 +6,7 @@ INCLUDES += \
        external/tslib/src \
        external/tslib/tests
 
-CFLAGS += -DTS_POINTERCAL=\"/system/etc/pointercal\" \
+CFLAGS += -DTS_POINTERCAL=\"/data/system/tslib/pointercal\" \
          -DTS_ENV=\"/system/etc/ts.env\" \
          -DGCC_HASCLASSVISIBILITY