source: rtems-libbsd/Makefile.todo @ fc9e83b

4.115-freebsd-12freebsd-9.3
Last change on this file since fc9e83b was fc9e83b, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 16, 2015 at 9:10:36 PM

mmc: Import MMC/SDCard support from libusb

  • Property mode set to 100644
File size: 3.0 KB
Line 
1LOCAL_INC = rtemsbsd/include/rtems/bsd/local
2
3LOCAL_SRC = rtemsbsd/local
4
5FREEBSD_SRC = freebsd-org
6
7TOOLS = freebsd-org/sys/tools
8
9GENERATED =
10GENERATED += $(LOCAL_INC)/usb_if.h
11GENERATED += $(LOCAL_SRC)/usb_if.c
12GENERATED += $(LOCAL_INC)/bus_if.h
13GENERATED += $(LOCAL_SRC)/bus_if.c
14GENERATED += $(LOCAL_INC)/device_if.h
15GENERATED += $(LOCAL_SRC)/device_if.c
16GENERATED += $(LOCAL_INC)/usbdevs_data.h
17GENERATED += $(LOCAL_INC)/usbdevs.h
18GENERATED += $(LOCAL_INC)/miibus_if.h
19GENERATED += $(LOCAL_SRC)/miibus_if.c
20GENERATED += $(LOCAL_INC)/miidevs.h
21GENERATED += $(LOCAL_INC)/pci_if.h
22GENERATED += $(LOCAL_SRC)/pci_if.c
23GENERATED += $(LOCAL_INC)/pcib_if.h
24GENERATED += $(LOCAL_SRC)/pcib_if.c
25GENERATED += $(LOCAL_INC)/mmcbr_if.h
26GENERATED += $(LOCAL_SRC)/mmcbr_if.c
27GENERATED += $(LOCAL_INC)/mmcbus_if.h
28GENERATED += $(LOCAL_SRC)/mmcbus_if.c
29
30all: $(GENERATED)
31
32$(LOCAL_INC)/usbdevs.h: $(FREEBSD_SRC)/sys/dev/usb/usbdevs
33        awk -f $(TOOLS)/usbdevs2h.awk $< -h
34        mv usbdevs.h $@
35
36$(LOCAL_INC)/usbdevs_data.h: $(FREEBSD_SRC)/sys/dev/usb/usbdevs
37        awk -f $(TOOLS)/usbdevs2h.awk $< -d
38        mv usbdevs_data.h $@
39
40$(LOCAL_INC)/usb_if.h: $(FREEBSD_SRC)/sys/dev/usb/usb_if.m
41        awk -f $(TOOLS)/makeobjops.awk $< -h
42        mv usb_if.h $@
43
44$(LOCAL_SRC)/usb_if.c: $(FREEBSD_SRC)/sys/dev/usb/usb_if.m
45        awk -f $(TOOLS)/makeobjops.awk $< -c
46        mv usb_if.c $@
47
48$(LOCAL_INC)/bus_if.h: $(FREEBSD_SRC)/sys/kern/bus_if.m
49        awk -f $(TOOLS)/makeobjops.awk $< -h
50        mv bus_if.h $@
51
52$(LOCAL_SRC)/bus_if.c: $(FREEBSD_SRC)/sys/kern/bus_if.m
53        awk -f $(TOOLS)/makeobjops.awk $< -c
54        mv bus_if.c $@
55
56$(LOCAL_INC)/device_if.h: $(FREEBSD_SRC)/sys/kern/device_if.m
57        awk -f $(TOOLS)/makeobjops.awk $< -h
58        mv device_if.h $@
59
60$(LOCAL_SRC)/device_if.c: $(FREEBSD_SRC)/sys/kern/device_if.m
61        awk -f $(TOOLS)/makeobjops.awk $< -c
62        mv device_if.c $@
63
64$(LOCAL_INC)/miidevs.h: $(FREEBSD_SRC)/sys/dev/mii/miidevs
65        awk -f $(TOOLS)/miidevs2h.awk $<
66        mv miidevs.h $@
67
68$(LOCAL_INC)/miibus_if.h: $(FREEBSD_SRC)/sys/dev/mii/miibus_if.m
69        awk -f $(TOOLS)/makeobjops.awk $< -h
70        mv miibus_if.h $@
71
72$(LOCAL_SRC)/miibus_if.c: $(FREEBSD_SRC)/sys/dev/mii/miibus_if.m
73        awk -f $(TOOLS)/makeobjops.awk $< -c
74        mv miibus_if.c $@
75
76$(LOCAL_INC)/pci_if.h: $(FREEBSD_SRC)/sys/dev/pci/pci_if.m
77        awk -f $(TOOLS)/makeobjops.awk $< -h
78        mv pci_if.h $@
79
80$(LOCAL_SRC)/pci_if.c: $(FREEBSD_SRC)/sys/dev/pci/pci_if.m
81        awk -f $(TOOLS)/makeobjops.awk $< -c
82        mv pci_if.c $@
83
84$(LOCAL_INC)/pcib_if.h: $(FREEBSD_SRC)/sys/dev/pci/pcib_if.m
85        awk -f $(TOOLS)/makeobjops.awk $< -h
86        mv pcib_if.h $@
87
88$(LOCAL_SRC)/pcib_if.c: $(FREEBSD_SRC)/sys/dev/pci/pcib_if.m
89        awk -f $(TOOLS)/makeobjops.awk $< -c
90        mv pcib_if.c $@
91
92$(LOCAL_INC)/mmcbus_if.h: $(FREEBSD_SRC)/sys/dev/mmc/mmcbus_if.m
93        awk -f $(TOOLS)/makeobjops.awk $< -h
94        mv mmcbus_if.h $@
95
96$(LOCAL_SRC)/mmcbus_if.c: $(FREEBSD_SRC)/sys/dev/mmc/mmcbus_if.m
97        awk -f $(TOOLS)/makeobjops.awk $< -c
98        mv mmcbus_if.c $@
99
100$(LOCAL_INC)/mmcbr_if.h: $(FREEBSD_SRC)/sys/dev/mmc/mmcbr_if.m
101        awk -f $(TOOLS)/makeobjops.awk $< -h
102        mv mmcbr_if.h $@
103
104$(LOCAL_SRC)/mmcbr_if.c: $(FREEBSD_SRC)/sys/dev/mmc/mmcbr_if.m
105        awk -f $(TOOLS)/makeobjops.awk $< -c
106        mv mmcbr_if.c $@
Note: See TracBrowser for help on using the repository browser.