]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/bhnd/Makefile
Merge compiler-rt trunk r321017 to contrib/compiler-rt.
[FreeBSD/FreeBSD.git] / sys / modules / bhnd / Makefile
1 # $FreeBSD$
2
3 .PATH: ${SRCTOP}/sys/dev/bhnd
4 .PATH: ${SRCTOP}/sys/dev/bhnd/cores/chipc
5 .PATH: ${SRCTOP}/sys/dev/bhnd/cores/chipc/pwrctl
6 .PATH: ${SRCTOP}/sys/dev/bhnd/cores/pmu
7 .PATH: ${SRCTOP}/sys/dev/bhnd/nvram
8
9 KMOD=   bhnd
10 SRCS=   bhnd.c bhnd_subr.c
11 SRCS+=  bhnd_bus_if.c bhnd_bus_if.h
12
13 SRCS+=  bhnd_erom.c
14 SRCS+=  bhnd_erom_if.c bhnd_erom_if.h
15
16 # ChipCommon
17 SRCS+=  chipc.c chipc_subr.c
18
19 SRCS+=  chipc_gpio.c
20 SRCS+=  gpio_if.h ofw_bus_if.h
21
22 SRCS+=  bhnd_sprom_chipc.c \
23         bhnd_pmu_chipc.c
24         
25 SRCS+=  bhnd_pwrctl.c \
26         bhnd_pwrctl_subr.c \
27         bhnd_pwrctl_if.c \
28         bhnd_pwrctl_if.h
29 SRCS+=  bhnd_pwrctl_hostb_if.c bhnd_pwrctl_hostb_if.h
30
31 SRCS+=  bhnd_chipc_if.c bhnd_chipc_if.h
32
33 # PMU
34 SRCS+=  bhnd_pmu.c \
35         bhnd_pmu_core.c \
36         bhnd_pmu_subr.c
37 SRCS+=  bhnd_pmu_if.c bhnd_pmu_if.h
38
39 # NVRAM/SPROM
40 SRCS+=  bhnd_nvram_data.c \
41         bhnd_nvram_data_bcm.c \
42         bhnd_nvram_data_bcmraw.c \
43         bhnd_nvram_data_btxt.c \
44         bhnd_nvram_data_sprom.c \
45         bhnd_nvram_data_sprom_subr.c \
46         bhnd_nvram_data_tlv.c \
47         bhnd_nvram_io.c \
48         bhnd_nvram_iobuf.c \
49         bhnd_nvram_ioptr.c \
50         bhnd_nvram_iores.c \
51         bhnd_nvram_plist.c \
52         bhnd_nvram_store.c \
53         bhnd_nvram_store_subr.c \
54         bhnd_nvram_subr.c \
55         bhnd_nvram_value.c \
56         bhnd_nvram_value_fmts.c \
57         bhnd_nvram_value_prf.c \
58         bhnd_nvram_value_subr.c \
59         bhnd_sprom.c
60 SRCS+=  bhnd_nvram_map.h bhnd_nvram_map_data.h
61 SRCS+=  bhnd_nvram_if.c bhnd_nvram_if.h
62
63 SRCS+=  device_if.h bus_if.h
64
65 SUBDIR= bcma \
66         bcma_bhndb \
67         bhndb \
68         bhndb_pci \
69         cores \
70         siba \
71         siba_bhndb
72
73 .include <bsd.kmod.mk>
74 .include <bsd.subdir.mk>