| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 1 | gfxinit-y += hw-gfx-dp_aux_ch.adb |
| 2 | gfxinit-y += hw-gfx-dp_aux_ch.ads |
| 3 | gfxinit-y += hw-gfx-dp_defs.ads |
| 4 | gfxinit-y += hw-gfx-dp_info.adb |
| 5 | gfxinit-y += hw-gfx-dp_info.ads |
| 6 | gfxinit-y += hw-gfx-dp_training.adb |
| 7 | gfxinit-y += hw-gfx-dp_training.ads |
| 8 | gfxinit-y += hw-gfx-edid.adb |
| 9 | gfxinit-y += hw-gfx-edid.ads |
| Nico Huber | 8c45bcf | 2016-11-20 17:30:57 +0100 | [diff] [blame] | 10 | gfxinit-y += hw-gfx-gma-config_helpers.adb |
| 11 | gfxinit-y += hw-gfx-gma-config_helpers.ads |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 12 | gfxinit-y += hw-gfx-gma-connector_info.adb |
| 13 | gfxinit-y += hw-gfx-gma-connector_info.ads |
| 14 | gfxinit-y += hw-gfx-gma-connectors.ads |
| Nico Huber | 8c45bcf | 2016-11-20 17:30:57 +0100 | [diff] [blame] | 15 | gfxinit-y += hw-gfx-gma-display_probing.adb |
| 16 | gfxinit-y += hw-gfx-gma-display_probing.ads |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 17 | gfxinit-y += hw-gfx-gma-dp_aux_ch.ads |
| 18 | gfxinit-y += hw-gfx-gma-dp_aux_request.adb |
| 19 | gfxinit-y += hw-gfx-gma-dp_aux_request.ads |
| 20 | gfxinit-y += hw-gfx-gma-dp_info.ads |
| 21 | gfxinit-y += hw-gfx-gma-i2c.adb |
| 22 | gfxinit-y += hw-gfx-gma-i2c.ads |
| 23 | gfxinit-y += hw-gfx-gma-panel.adb |
| 24 | gfxinit-y += hw-gfx-gma-panel.ads |
| 25 | gfxinit-y += hw-gfx-gma-pch-fdi.adb |
| 26 | gfxinit-y += hw-gfx-gma-pch-fdi.ads |
| 27 | gfxinit-y += hw-gfx-gma-pch-sideband.adb |
| 28 | gfxinit-y += hw-gfx-gma-pch-sideband.ads |
| 29 | gfxinit-y += hw-gfx-gma-pch-transcoder.adb |
| 30 | gfxinit-y += hw-gfx-gma-pch-transcoder.ads |
| 31 | gfxinit-y += hw-gfx-gma-pch-vga.adb |
| 32 | gfxinit-y += hw-gfx-gma-pch-vga.ads |
| 33 | gfxinit-y += hw-gfx-gma-pch.ads |
| 34 | gfxinit-y += hw-gfx-gma-pipe_setup.adb |
| 35 | gfxinit-y += hw-gfx-gma-pipe_setup.ads |
| 36 | gfxinit-y += hw-gfx-gma-port_detect.ads |
| 37 | gfxinit-y += hw-gfx-gma-registers.adb |
| 38 | gfxinit-y += hw-gfx-gma-registers.ads |
| Nico Huber | 7ad2d65 | 2016-12-07 15:19:32 +0100 | [diff] [blame^] | 39 | gfxinit-y += hw-gfx-gma-transcoder.adb |
| 40 | gfxinit-y += hw-gfx-gma-transcoder.ads |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 41 | gfxinit-y += hw-gfx-gma.adb |
| 42 | gfxinit-y += hw-gfx-gma.ads |
| 43 | gfxinit-y += hw-gfx-i2c.ads |
| 44 | gfxinit-y += hw-gfx.ads |
| 45 | gfxinit-$(CONFIG_HWBASE_DYNAMIC_MMIO) += hw-gfx-framebuffer_filler.adb |
| 46 | gfxinit-$(CONFIG_HWBASE_DYNAMIC_MMIO) += hw-gfx-framebuffer_filler.ads |
| 47 | |
| Nico Huber | 3e50827 | 2016-10-09 20:44:16 +0200 | [diff] [blame] | 48 | CONFIG_GFX_GMA_CPU := $(call strip_quotes,$(CONFIG_GFX_GMA_CPU)) |
| 49 | CONFIG_GFX_GMA_CPU_VARIANT := $(call strip_quotes,$(CONFIG_GFX_GMA_CPU_VARIANT)) |
| 50 | CONFIG_GFX_GMA_INTERNAL_PORT := $(call strip_quotes,$(CONFIG_GFX_GMA_INTERNAL_PORT)) |
| Nico Huber | d55afeb | 2016-10-21 14:31:10 +0200 | [diff] [blame] | 51 | CONFIG_GFX_GMA_ANALOG_I2C_PORT := $(call strip_quotes,$(CONFIG_GFX_GMA_ANALOG_I2C_PORT)) |
| Nico Huber | 3e50827 | 2016-10-09 20:44:16 +0200 | [diff] [blame] | 52 | |
| Nico Huber | 2600c36 | 2016-10-10 15:47:42 +0200 | [diff] [blame] | 53 | hw-gfx-gma-config-ads := $(subst //,/,$(call src-to-obj,,$(dir)/hw-gfx-gma-config).ads) |
| 54 | |
| 55 | $(hw-gfx-gma-config-ads): $(dir)/hw-gfx-gma-config.ads.template $(cnf) |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 56 | printf " GENERATE $(patsubst /%,%,$(subst $(obj)/,,$@))\n" |
| 57 | sed -e's/<<CPU>>/$(CONFIG_GFX_GMA_CPU)/' \ |
| 58 | -e's/<<CPU_VARIANT>>/$(CONFIG_GFX_GMA_CPU_VARIANT)/' \ |
| 59 | -e's/<<INTERNAL_PORT>>/$(CONFIG_GFX_GMA_INTERNAL_PORT)/' \ |
| Nico Huber | d55afeb | 2016-10-21 14:31:10 +0200 | [diff] [blame] | 60 | -e's/<<ANALOG_I2C_PORT>>/$(CONFIG_GFX_GMA_ANALOG_I2C_PORT)/' \ |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 61 | -e's/<<DEFAULT_MMIO_BASE>>/$(CONFIG_GFX_GMA_DEFAULT_MMIO)/' \ |
| 62 | $< >$@ |
| Nico Huber | 2600c36 | 2016-10-10 15:47:42 +0200 | [diff] [blame] | 63 | gfxinit-gen-y += $(hw-gfx-gma-config-ads) |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 64 | |
| 65 | ifneq ($(filter Ironlake Sandybridge Ivybridge,$(CONFIG_GFX_GMA_CPU)),) |
| 66 | subdirs-y += ironlake |
| 67 | else ifneq ($(filter Haswell Broadwell,$(CONFIG_GFX_GMA_CPU)),) |
| 68 | subdirs-y += haswell_shared haswell |
| 69 | else |
| 70 | subdirs-y += haswell_shared skylake |
| 71 | endif |