1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_C_INCLUDES := \ 6 $(LOCAL_PATH)/common \ 7 $(LOCAL_PATH)/ulinux \ 8 $(LOCAL_PATH)/../include \ 9 $(LOCAL_PATH)/../stack/include \ 10 $(LOCAL_PATH)/../utils/include \ 11 $(bdroid_C_INCLUDES) 12 13 LOCAL_CFLAGS += -Wno-error=unused-parameter $(bdroid_CFLAGS) -std=c99 14 15 ifeq ($(BOARD_HAVE_BLUETOOTH_BCM),true) 16 LOCAL_CFLAGS += \ 17 -DBOARD_HAVE_BLUETOOTH_BCM 18 endif 19 20 LOCAL_PRELINK_MODULE := false 21 LOCAL_SRC_FILES := \ 22 ./common/gki_buffer.c \ 23 ./common/gki_debug.c \ 24 ./common/gki_time.c \ 25 ./ulinux/gki_ulinux.c 26 27 LOCAL_MODULE := libbt-brcm_gki 28 LOCAL_MODULE_TAGS := optional 29 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 30 LOCAL_MULTILIB := 32 31 32 include $(BUILD_STATIC_LIBRARY) 33