-
Notifications
You must be signed in to change notification settings - Fork 87
/
Android.mk
62 lines (43 loc) · 1.01 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
ifneq ($(TARGET_SIMULATOR),true)
LOCAL_PATH := $(call my-dir)
i2c_includes := $(LOCAL_PATH)/include $(LOCAL_PATH)/kernel
# i2cdetect
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
tools/i2cdetect.c \
tools/i2cbusses.c
LOCAL_C_INCLUDES := $(i2c_includes)
LOCAL_MODULE := i2cdetect
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
# i2cdump
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
tools/i2cdump.c \
tools/i2cbusses.c \
tools/util.c
LOCAL_C_INCLUDES := $(i2c_includes)
LOCAL_MODULE := i2cdump
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
# i2cset
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
tools/i2cset.c \
tools/i2cbusses.c \
tools/util.c
LOCAL_C_INCLUDES := $(i2c_includes)
LOCAL_MODULE := i2cset
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
# i2cget
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
tools/i2cget.c \
tools/i2cbusses.c \
tools/util.c
LOCAL_C_INCLUDES := $(i2c_includes)
LOCAL_MODULE := i2cget
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
endif