summaryrefslogtreecommitdiff
path: root/samples/hidraw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/hidraw/Makefile')
-rw-r--r--samples/hidraw/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/samples/hidraw/Makefile b/samples/hidraw/Makefile
index dec1b22adf54..8bd25f77671f 100644
--- a/samples/hidraw/Makefile
+++ b/samples/hidraw/Makefile
@@ -1,9 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
# List of programs to build
-hostprogs-y := hid-example
-
-# Tell kbuild to always build the programs
-always := $(hostprogs-y)
+hostprogs := hid-example
+always-y := $(hostprogs)
HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include