xref: /openbmc/linux/samples/connector/Makefile (revision 60772e48)
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