|
| 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-config_helpers.adb |
| 11 | +gfxinit-y += hw-gfx-gma-config_helpers.ads |
| 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 |
| 15 | +gfxinit-y += hw-gfx-gma-display_probing.adb |
| 16 | +gfxinit-y += hw-gfx-gma-display_probing.ads |
| 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 |
| 39 | +gfxinit-y += hw-gfx-gma-transcoder.adb |
| 40 | +gfxinit-y += hw-gfx-gma-transcoder.ads |
| 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-y += hw-gfx-framebuffer_filler.adb |
| 46 | +gfxinit-y += hw-gfx-framebuffer_filler.ads |
| 47 | + |
| 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)) |
| 51 | +CONFIG_GFX_GMA_ANALOG_I2C_PORT := $(call strip_quotes,$(CONFIG_GFX_GMA_ANALOG_I2C_PORT)) |
| 52 | + |
| 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) |
| 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)/' \ |
| 60 | + -e's/<<ANALOG_I2C_PORT>>/$(CONFIG_GFX_GMA_ANALOG_I2C_PORT)/' \ |
| 61 | + -e's/<<DEFAULT_MMIO_BASE>>/$(CONFIG_GFX_GMA_DEFAULT_MMIO)/' \ |
| 62 | + $< >$@ |
| 63 | +gfxinit-gen-y += $(hw-gfx-gma-config-ads) |
| 64 | + |
| 65 | +ifneq ($(filter G45,$(CONFIG_GFX_GMA_CPU)),) |
| 66 | +subdirs-y += g45 |
| 67 | +else ifneq ($(filter Ironlake Sandybridge Ivybridge,$(CONFIG_GFX_GMA_CPU)),) |
| 68 | +subdirs-y += ironlake |
| 69 | +else ifneq ($(filter Haswell Broadwell,$(CONFIG_GFX_GMA_CPU)),) |
| 70 | +subdirs-y += haswell_shared haswell |
| 71 | +else ifneq ($(filter Broxton,$(CONFIG_GFX_GMA_CPU)),) |
| 72 | +subdirs-y += haswell_shared broxton |
| 73 | +else ifneq ($(filter Skylake,$(CONFIG_GFX_GMA_CPU)),) |
| 74 | +subdirs-y += haswell_shared skylake |
| 75 | +endif |
0 commit comments