subdir-ccflags-$(CONFIG_ARCH_MSM) += -Iarch/arm/mach-msm

-include $(src)/Makefile.board

obj-y += devices_htc.o
obj-y += radio_feedback.o
obj-y += htc_port_list.o
obj-y += htc_bdaddress.o
obj-y += htc_ramdump.o
obj-y += htc_awb_cal.o
obj-y += htc_wifi_nvs.o
obj-y += htc_sysinfo.o
obj-y += emmc_partitions.o
obj-y += htc_acoustic_8960.o

obj-$(CONFIG_HTC_BATT_CORE) += htc_battery_core.o
obj-$(CONFIG_HTC_BATT_8960) += htc_battery_8960.o htc_battery_cell.o
obj-$(CONFIG_MSM_NATIVE_RESTART) += htc_restart_handler.o

obj-$(CONFIG_HTC_HEADSET_MGR) += htc_headset_mgr.o
obj-$(CONFIG_HTC_HEADSET_PMIC) += htc_headset_pmic.o
obj-$(CONFIG_HTC_HEADSET_ONE_WIRE) += htc_headset_one_wire.o

CFLAGS_devices_htc.o += -Idrivers/staging/android
