summaryrefslogtreecommitdiffstats
path: root/samples/hidraw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/hidraw/Makefile')
-rw-r--r--samples/hidraw/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/samples/hidraw/Makefile b/samples/hidraw/Makefile
index 8bd25f77671f..d2c77ed60b39 100644
--- a/samples/hidraw/Makefile
+++ b/samples/hidraw/Makefile
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-# List of programs to build
-hostprogs := hid-example
-always-y := $(hostprogs)
+userprogs := hid-example
+always-y := $(userprogs)
-HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include
-
-all: hid-example
+userccflags += -I usr/include