hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/samples/connector/Makefile
....@@ -1,17 +1,6 @@
11 # SPDX-License-Identifier: GPL-2.0
22 obj-$(CONFIG_SAMPLE_CONNECTOR) += cn_test.o
33
4
-# List of programs to build
5
-ifdef CONFIG_SAMPLE_CONNECTOR
6
-hostprogs-y := ucon
7
-endif
4
+userprogs-always-$(CONFIG_CC_CAN_LINK) += ucon
85
9
-# Tell kbuild to always build the programs
10
-always := $(hostprogs-y)
11
-
12
-HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include
13
-
14
-all: modules
15
-
16
-modules clean:
17
- $(MAKE) -C ../.. SUBDIRS=$(CURDIR) $@
6
+userccflags += -I usr/include