xref: /linux/samples/connector/Makefile (revision 720f228e8d3128b7ab1d39f51fdd8da07a7640c9)
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 ../.. SUBDIRS=$(CURDIR) $@
18