aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/samples/uhid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/uhid/Makefile')
-rw-r--r--samples/uhid/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/samples/uhid/Makefile b/samples/uhid/Makefile
index 5f44ea40d6d5..9e652fc34103 100644
--- a/samples/uhid/Makefile
+++ b/samples/uhid/Makefile
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
-# List of programs to build
-hostprogs := uhid-example
+userprogs := uhid-example
+always-y := $(userprogs)
-# Tell kbuild to always build the programs
-always-y := $(hostprogs)
-
-HOSTCFLAGS_uhid-example.o += -I$(objtree)/usr/include
+userccflags += -I usr/include