OSDN Git Service

calibration.h: set accel BUCKET_TOLERANCE to 2.5
[android-x86/hardware-intel-libsensors.git] / Makefile
index 1a3d398..67c2af5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
-USE_INTEL_SENSOR_HAL := true
-USE_INTEL_ACTIVITY_RECOGNITION_HAL := true
+USE_IIO_SENSOR_HAL := true
+USE_IIO_ACTIVITY_RECOGNITION_HAL := true
 include Android.mk
 
 LIBHARDWARE?=../../../../hardware/libhardware/
 CFLAGS=-DLOG_TAG=\"sens\" -I$(LIBHARDWARE)include/ -I./linux -fPIC -Wall
 LDFLAGS=-ldl -lpthread -lm -lrt
 
-all: sensors.gmin.so sens activity.gmin.so activity
+all: sensors.gmin.so sens activity_recognition.gmin.so activity
 
 linux_src = linux/log.o
 
@@ -19,8 +19,8 @@ activity: activity.o $(linux_src)
 sensors.gmin.so: $(patsubst %.c,%.o,$(src_files) $(linux_src))
        cc -o $@ $^ $(LDFLAGS) -shared
 
-activity.gmin.so: $(patsubst %.c,%.o,$(activity_src_files) $(linux_src))
+activity_recognition.gmin.so: $(patsubst %.c,%.o,$(activity_src_files) $(linux_src))
        cc -o $@ $^ $(LDFLAGS) -shared
 
 clean:
-       -rm $(patsubst %.c,%.o,$(src_files) $(activity_src_files) $(linux_src) sens.c activity.c) sens sensors.gmin.so activity activity.gmin.so 2>/dev/null
+       -rm $(patsubst %.c,%.o,$(src_files) $(activity_src_files) $(linux_src) sens.c activity.c) sens sensors.gmin.so activity activity_recognition.gmin.so 2>/dev/null