blob: 04b9622b6f515082a15f021a41e71b9223e14bae [file] [log] [blame]
Arnd Bergmann14fbff62016-04-25 18:03:08 +02001obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o
Randy Dunlap3794f3e2008-08-12 15:09:06 -07002
3# List of programs to build
Arnd Bergmann14fbff62016-04-25 18:03:08 +02004ifdef CONFIG_SAMPLE_CONNECTOR
Randy Dunlap3794f3e2008-08-12 15:09:06 -07005hostprogs-y := ucon
Arnd Bergmann14fbff62016-04-25 18:03:08 +02006endif
Randy Dunlap3794f3e2008-08-12 15:09:06 -07007
8# Tell kbuild to always build the programs
9always := $(hostprogs-y)
10
11HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include
Mike Frysinger37cf2b82009-07-17 10:14:26 -070012
13all: modules
14
15modules clean:
16 $(MAKE) -C ../.. SUBDIRS=$(PWD) $@