blob: 8759664fb4ba60d8ff7f1a2da55b852aac9388be [file] [log] [blame]
Nico Hubera5c8ba22017-02-09 16:35:33 +01001hw-y += hw.adb
Nico Huber5e9b1b52016-10-08 22:09:33 +02002hw-y += hw.ads
3hw-y += hw-mmio_range.ads
4hw-y += hw-mmio_regs.adb
5hw-y += hw-mmio_regs.ads
6hw-y += hw-port_io.adb
7hw-y += hw-port_io.ads
8hw-y += hw-sub_regs.ads
9hw-y += hw-time.ads
10hw-y += hw-time.adb
11hw-y += hw-time-timer.ads
Nico Huberf03ef4f2017-03-04 13:57:09 +010012
13hw-$(CONFIG_HWBASE_POSIX_FILE) += hw-file.ads
Nico Huber359e3142017-07-09 19:03:06 +020014
15hw-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 $< >$@
21hw-gen-y += $(hw-config-ads)