kernel/samples/hidraw/Makefile
.. .. @@ -1,10 +1,4 @@ 1 1 # SPDX-License-Identifier: GPL-2.0 2 -# List of programs to build3 -hostprogs-y := hid-example2 +userprogs-always-y += hid-example4 3 5 -# Tell kbuild to always build the programs6 -always := $(hostprogs-y)7 -8 -HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include9 -10 -all: hid-example4 +userccflags += -I usr/include