blob: 374d9b69a5dffe953c8ab79f10b6db3d3a4180ab [file] [log] [blame]
#
# 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)