1 # Copyright (C) 2015 Intel Corporation
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 LOCAL_PATH := $(call my-dir)
19 LOCAL_MODULE := libmraa
20 LOCAL_CFLAGS += -Wno-unused-parameter -DX86PLAT=1
21 LOCAL_SHARED_LIBRARIES := libcutils libutils libdl libc
31 src/x86/intel_galileo_rev_d.c \
32 src/x86/intel_galileo_rev_g.c \
33 src/x86/intel_edison_fab_c.c \
34 src/x86/intel_de3815.c \
35 src/x86/intel_nuc5.c \
36 src/x86/intel_minnow_byt_compatible.c
38 # glob.c pulled in from NetBSD project (BSD 3-clause License)
43 $(LOCAL_PATH)/include \
44 $(LOCAL_PATH)/include/linux \
45 $(LOCAL_PATH)/include/x86 \
47 $(LOCAL_PATH)/api/mraa \
48 $(LOCAL_PATH)/src/glob
50 LOCAL_EXPORT_C_INCLUDE_DIRS := \
52 $(LOCAL_PATH)/api/mraa
54 LOCAL_MODULE_TAGS := optional
56 include $(BUILD_SHARED_LIBRARY)