diff options
Diffstat (limited to 'samples/connector/Makefile')
| -rw-r--r-- | samples/connector/Makefile | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/samples/connector/Makefile b/samples/connector/Makefile index 6ad71620e503..d98a9e047c11 100644 --- a/samples/connector/Makefile +++ b/samples/connector/Makefile @@ -1,17 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o -# List of programs to build -ifdef CONFIG_SAMPLE_CONNECTOR -hostprogs-y := ucon -endif +userprogs-always-$(CONFIG_CC_CAN_LINK) += ucon -# Tell kbuild to always build the programs -always := $(hostprogs-y) - -HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include - -all: modules - -modules clean: - $(MAKE) -C ../.. M=$(CURDIR) $@ +userccflags += -I usr/include |
