Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
14fbff6b | 2 | obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o |
3794f3e8 RD |
3 | |
4 | # List of programs to build | |
14fbff6b | 5 | ifdef CONFIG_SAMPLE_CONNECTOR |
3794f3e8 | 6 | hostprogs-y := ucon |
14fbff6b | 7 | endif |
3794f3e8 RD |
8 | |
9 | # Tell kbuild to always build the programs | |
10 | always := $(hostprogs-y) | |
11 | ||
12 | HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include | |
37cf2b8d MF |
13 | |
14 | all: modules | |
15 | ||
16 | modules clean: | |
0126be38 | 17 | $(MAKE) -C ../.. M=$(CURDIR) $@ |