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