Add Null_TP constant
[libxhcidbg.git] / src / Makefile.inc
1 xhcdbc-y += hw-dbc-contexts.adb
2 xhcdbc-y += hw-dbc-contexts.ads
3 xhcdbc-y += hw-dbc-dma_buffers.ads
4 xhcdbc-y += hw-dbc-events.adb
5 xhcdbc-y += hw-dbc-events.ads
6 xhcdbc-y += hw-dbc-intel_quirk.adb
7 xhcdbc-y += hw-dbc-intel_quirk.ads
8 xhcdbc-y += hw-dbc-transfer_info.adb
9 xhcdbc-y += hw-dbc-transfer_info.ads
10 xhcdbc-y += hw-dbc-transfer_rings.adb
11 xhcdbc-y += hw-dbc-transfer_rings.ads
12 xhcdbc-y += hw-dbc-transfers.adb
13 xhcdbc-y += hw-dbc-transfers.ads
14 xhcdbc-y += hw-dbc-trbs.adb
15 xhcdbc-y += hw-dbc-trbs.ads
16 xhcdbc-y += hw-dbc.adb
17 xhcdbc-y += hw-dbc.ads
18
19 hw-dbc-config-ads := $(subst //,/,$(call src-to-obj,,$(dir)/hw-dbc_config).ads)
20
21 $(hw-dbc-config-ads): $(dir)/hw-dbc_config.ads.template $(cnf)
22         printf "    GENERATE   $(patsubst /%,%,$(subst $(obj)/,,$@))\n"
23         sed -e's/<<DMA_BASE>>/$(CONFIG_XHCDBC_DMA_BASE)/' \
24             -e's/<<XHCI_BASE>>/$(CONFIG_XHCDBC_XHCI_BASE)/' \
25             -e's/<<XHCI_SIZE>>/$(CONFIG_XHCDBC_XHCI_SIZE)/' \
26             $< >$@
27 xhcdbc-gen-y += $(hw-dbc-config-ads)