Arnd Bergmann | 14fbff6 | 2016-04-25 18:03:08 +0200 | [diff] [blame] | 1 | obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o |
Randy Dunlap | 3794f3e | 2008-08-12 15:09:06 -0700 | [diff] [blame] | 2 | |
| 3 | # List of programs to build |
Arnd Bergmann | 14fbff6 | 2016-04-25 18:03:08 +0200 | [diff] [blame] | 4 | ifdef CONFIG_SAMPLE_CONNECTOR |
Randy Dunlap | 3794f3e | 2008-08-12 15:09:06 -0700 | [diff] [blame] | 5 | hostprogs-y := ucon |
Arnd Bergmann | 14fbff6 | 2016-04-25 18:03:08 +0200 | [diff] [blame] | 6 | endif |
Randy Dunlap | 3794f3e | 2008-08-12 15:09:06 -0700 | [diff] [blame] | 7 | |
| 8 | # Tell kbuild to always build the programs |
| 9 | always := $(hostprogs-y) |
| 10 | |
| 11 | HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include |
Mike Frysinger | 37cf2b8 | 2009-07-17 10:14:26 -0700 | [diff] [blame] | 12 | |
| 13 | all: modules |
| 14 | |
| 15 | modules clean: |
Uwe Kleine-König | e19b7ce | 2016-11-22 09:30:26 +0100 | [diff] [blame] | 16 | $(MAKE) -C ../.. SUBDIRS=$(CURDIR) $@ |