xref: /linux/samples/connector/Makefile (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
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