1 LOCAL_PATH := $(call my-dir)
3 # Setup bdroid local make variables for handling configuration
4 ifneq ($(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR),)
5 bdroid_C_INCLUDES := $(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR)
6 bdroid_CFLAGS += -DHAS_BDROID_BUILDCFG
9 bdroid_CFLAGS += -DHAS_NO_BDROID_BUILDCFG
12 ifneq ($(BOARD_BLUETOOTH_BDROID_HCILP_INCLUDED),)
13 bdroid_CFLAGS += -DHCILP_INCLUDED=$(BOARD_BLUETOOTH_BDROID_HCILP_INCLUDED)
16 ifneq ($(TARGET_BUILD_VARIANT),user)
17 bdroid_CFLAGS += -DBLUEDROID_DEBUG
20 bdroid_CFLAGS += -DEXPORT_SYMBOL="__attribute__((visibility(\"default\")))"
25 -Wunused-but-set-variable \
26 -Werror=format-security \
27 -Werror=pointer-to-int-cast \
28 -Werror=int-to-pointer-cast \
29 -Werror=implicit-function-declaration \
33 include $(call all-subdir-makefiles)