# # Makefile for misc devices that really don't fit anywhere else. # LOCAL_DIR := $(GET_LOCAL_DIR) LCM_DEFINES := $(shell echo $(CONFIG_CUSTOM_LK_LCM) | tr a-z A-Z) DEFINES += $(foreach LCM,$(LCM_DEFINES),$(LCM)) DEFINES += MTK_LCM_PHYSICAL_ROTATION=\"$(MTK_LCM_PHYSICAL_ROTATION)\" LCM_LISTS := $(subst ",,$(CONFIG_CUSTOM_LK_LCM)) OBJS += $(foreach LCM,$(LCM_LISTS),$(LOCAL_DIR)/$(LCM)/$(addsuffix .o, $(LCM))) OBJS += $(LOCAL_DIR)/mt65xx_lcm_list.o