1 ifneq ($(TARGET_SIMULATOR),true) 2 3 LOCAL_PATH:= $(call my-dir) 4 5 # dmtd 6 AKM_FS_LIB=AKFS_APIs_8975 7 8 ##### AKM daemon ############################################################### 9 include $(CLEAR_VARS) 10 11 LOCAL_C_INCLUDES := \ 12 $(KERNEL_HEADERS) \ 13 $(LOCAL_PATH)/$(AKM_FS_LIB) 14 15 LOCAL_SRC_FILES:= \ 16 $(AKM_FS_LIB)/AKFS_AK8975.c \ 17 $(AKM_FS_LIB)/AKFS_AOC.c \ 18 $(AKM_FS_LIB)/AKFS_Device.c \ 19 $(AKM_FS_LIB)/AKFS_Direction.c \ 20 $(AKM_FS_LIB)/AKFS_VNorm.c \ 21 AK8975Driver.c \ 22 AKFS_APIs.c \ 23 AKFS_Disp.c \ 24 AKFS_FileIO.c \ 25 AKFS_Measure.c \ 26 main.c 27 28 LOCAL_CFLAGS += \ 29 -Wall \ 30 -DENABLE_AKMDEBUG=1 \ 31 -DOUTPUT_STDOUT=1 \ 32 -DDBG_LEVEL=2 \ 33 34 LOCAL_MODULE := akmdfs 35 LOCAL_MODULE_TAGS := optional 36 LOCAL_FORCE_STATIC_EXECUTABLE := false 37 LOCAL_SHARED_LIBRARIES := libc libm libutils libcutils 38 include $(BUILD_EXECUTABLE) 39 40 41 endif # TARGET_SIMULATOR != true 42 43