aboutsummaryrefslogtreecommitdiff
path: root/include/vservices/protocol/Kbuild
blob: 374d9b69a5dffe953c8ab79f10b6db3d3a4180ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#
# Find all of the protocol directory names, and get the basename followed
# by a trailing slash.
#
protocols=$(shell find include/vservices/protocol/ -mindepth 1 -type d -exec basename {} \;)
protocol_dirs=$(foreach p, $(protocols), $(p)/)

#
# Export the headers for all protocols. The kbuild file in each protocol
# directory specifies exactly which headers to export.
#
header-y += $(protocol_dirs)