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