| Nico Huber | 5e9b1b5 | 2016-10-08 22:09:33 +0200 | [diff] [blame] | 1 | hw-y += hw.ads |
| 2 | hw-y += hw-mmio_range.ads |
| 3 | hw-y += hw-mmio_regs.adb |
| 4 | hw-y += hw-mmio_regs.ads |
| Nico Huber | ef4545a | 2017-06-18 02:58:40 +0200 | [diff] [blame] | 5 | hw-y += hw-pci.ads |
| 6 | hw-y += hw-pci-mmconf.adb |
| 7 | hw-y += hw-pci-mmconf.ads |
| Nico Huber | 5e9b1b5 | 2016-10-08 22:09:33 +0200 | [diff] [blame] | 8 | hw-y += hw-port_io.adb |
| 9 | hw-y += hw-port_io.ads |
| 10 | hw-y += hw-sub_regs.ads |
| 11 | hw-y += hw-time.ads |
| 12 | hw-y += hw-time.adb |
| 13 | hw-y += hw-time-timer.ads |
| Nico Huber | f03ef4f | 2017-03-04 13:57:09 +0100 | [diff] [blame] | 14 | |
| 15 | hw-$(CONFIG_HWBASE_POSIX_FILE) += hw-file.ads |
| Nico Huber | 359e314 | 2017-07-09 19:03:06 +0200 | [diff] [blame] | 16 | |
| Nico Huber | ae9b855 | 2017-07-09 15:25:41 +0200 | [diff] [blame] | 17 | hw-$(CONFIG_HWBASE_DIRECT_PCIDEV) += direct/hw-pci-dev.adb |
| 18 | hw-$(CONFIG_HWBASE_DIRECT_PCIDEV) += hw-pci-dev.ads |
| Nico Huber | ff3240b | 2017-07-09 16:23:04 +0200 | [diff] [blame^] | 19 | hw-$(CONFIG_HWBASE_LINUX_PCIDEV) += linux/hw-pci-dev.adb |
| 20 | hw-$(CONFIG_HWBASE_LINUX_PCIDEV) += hw-pci-dev.ads |
| Nico Huber | ae9b855 | 2017-07-09 15:25:41 +0200 | [diff] [blame] | 21 | |
| Nico Huber | 359e314 | 2017-07-09 19:03:06 +0200 | [diff] [blame] | 22 | hw-config-ads := $(subst //,/,$(call src-to-obj,,$(dir)/hw-config).ads) |
| 23 | $(hw-config-ads): $(dir)/hw-config.ads.template $(cnf) |
| 24 | printf " GENERATE $(patsubst /%,%,$(subst $(obj)/,,$@))\n" |
| 25 | sed \ |
| Nico Huber | ef4545a | 2017-06-18 02:58:40 +0200 | [diff] [blame] | 26 | -e's/<<DEFAULT_MMCONF_BASE>>/$(CONFIG_HWBASE_DEFAULT_MMCONF)/' \ |
| Nico Huber | 359e314 | 2017-07-09 19:03:06 +0200 | [diff] [blame] | 27 | -e's/<<DYNAMIC_MMIO>>/$(if $(filter y,$(CONFIG_HWBASE_DYNAMIC_MMIO)),True,False)/' \ |
| 28 | $< >$@ |
| 29 | hw-gen-y += $(hw-config-ads) |