1LOCAL_PATH := $(call my-dir) 2 3bdroid_CFLAGS := -Wno-unused-parameter 4 5# Setup bdroid local make variables for handling configuration 6ifneq ($(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR),) 7 bdroid_C_INCLUDES := $(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR) 8 bdroid_CFLAGS += -DHAS_BDROID_BUILDCFG 9else 10 bdroid_C_INCLUDES := 11 bdroid_CFLAGS += -DHAS_NO_BDROID_BUILDCFG 12endif 13 14bdroid_CFLAGS += -Wall -Werror 15 16ifneq ($(BOARD_BLUETOOTH_BDROID_HCILP_INCLUDED),) 17 bdroid_CFLAGS += -DHCILP_INCLUDED=$(BOARD_BLUETOOTH_BDROID_HCILP_INCLUDED) 18endif 19 20include $(call all-subdir-makefiles) 21 22# Cleanup our locals 23bdroid_C_INCLUDES := 24bdroid_CFLAGS := 25