| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # Makefile for the CAPI subsystem. | ||||
| 3 | |||||
| 4 | # Ordering constraints: kernelcapi.o first | ||||
| 5 | |||||
| 6 | # Each configuration option enables a list of files. | ||||
| 7 | |||||
| 8 | obj-$(CONFIG_ISDN_CAPI) += kernelcapi.o | ||||
| 9 | obj-$(CONFIG_ISDN_CAPI_CAPI20) += capi.o | ||||
| 10 | obj-$(CONFIG_ISDN_CAPI_CAPIDRV) += capidrv.o | ||||
| 11 | |||||
| 12 | # Multipart objects. | ||||
| 13 | |||||
| 14 | kernelcapi-y := kcapi.o capiutil.o capilib.o | ||||
| 15 | kernelcapi-$(CONFIG_PROC_FS) += kcapi_proc.o | ||||