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: |
| 16 | $(MAKE) -C ../.. SUBDIRS=$(PWD) $@ |