kernel/samples/uhid/Makefile
.. .. @@ -1,7 +1,4 @@ 1 -# List of programs to build2 -hostprogs-y := uhid-example1 +# SPDX-License-Identifier: GPL-2.0-only2 +userprogs-always-y += uhid-example3 3 4 -# Tell kbuild to always build the programs5 -always := $(hostprogs-y)6 -7 -HOSTCFLAGS_uhid-example.o += -I$(objtree)/usr/include4 +userccflags += -I usr/include