xref: /linux/samples/connector/Makefile (revision 1a7a05e88fa0e4e168f83585d1bb1937197a9745)
1# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o
3
4# List of programs to build
5ifdef CONFIG_SAMPLE_CONNECTOR
6hostprogs-y := ucon
7endif
8
9# Tell kbuild to always build the programs
10always := $(hostprogs-y)
11
12HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include
13
14all: modules
15
16modules clean:
17	$(MAKE) -C ../.. M=$(CURDIR) $@
18