123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- ifneq ($(DRIVERS_DIR),)
- # build together
- HDMI_DIR = $(DRIVERS_DIR)/hdmi
- else
- # build standalone
- HDMI_DIR = $(M)
- endif
- ifeq ($(CONFIG_CHIPID),0x330)
- ic_dir = 330
- endif
- ifeq ($(CONFIG_CHIPID),0x531)
- ic_dir = 531
- endif
- ifeq ($(CONFIG_CHIPID),0x331)
- ic_dir = 331
- endif
- ifeq ($(CONFIG_CHIPID),0x533)
- ic_dir = 533
- endif
- ifeq ($(CONFIG_CHIPID),0x131)
- ic_dir = 131
- endif
- ifeq ($(CONFIG_CHIPID),0x8506)
- ic_dir = 8506
- endif
- ifeq ($(CONFIG_CHIPID),0x6710)
- ic_dir = 6710
- endif
- mods += hdmi.o
- hdmi-objs = \
- debounce.o \
- sysreg.o \
- gpioi2c.o \
- hdmi.o \
- cec.o \
- hdmi_hpd.o \
- hdmi_mapping.o \
- hdmi_notice.o \
- hdmi_hw.o \
- hdmi_hdcp.o \
- hdmi_audio.o \
- hdmi_cmdq.o \
- hdmi_dbg.o \
- hdmi_processing.o \
- hdmi_video.o \
- hdmi_xvycc.o \
- hdmi_cfg.o \
- hdmi_time.o \
- hdmi_infoframe_api.o\
- spdif_parser.o
-
- dir = hdmi/$(ic_dir)/
- mhl_dir = mhl
- mhl-objs =
- ifdef CONFIG_HDMI_MHL_PORT
- ifneq ($(ic_dir), 330)
- EXTRA_CFLAGS += -I$(shell pwd)/../../drivers/hdmi/$(ic_dir)/$(mhl_dir)
- mhl-objs = \
- $(mhl_dir)/mhl_application.o \
- $(mhl_dir)/cbus_app.o \
- $(mhl_dir)/cbus_drv.o \
- $(mhl_dir)/cbus_mid.o
- endif
- endif
- # Append switch code here
- switch-objs = switch_default.o
- # ===========================================================
- #
- # Please add your switch here for specific project.
- #
- # ===========================================================
- ifeq ($(CONFIG_IT6633),y)
- switch-objs = switch_it6633.o
- endif
- # ===========================================================
- hdmi-objs += $(switch-objs)
- hdmi-objs += $(mhl-objs)
- ifneq ($(CONFIG_S2DRV),)
- hdmi-objs := $(patsubst %, $(dir)%, $(hdmi-objs))
-
- endif
|