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