1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 userprogs-always-y += hid-example !! 2 # kbuild trick to avoid linker error. Can be omitted if a module is built. >> 3 obj- := dummy.o 3 4 4 userccflags += -I usr/include !! 5 # List of programs to build >> 6 hostprogs-y := hid-example >> 7 >> 8 # Tell kbuild to always build the programs >> 9 always := $(hostprogs-y) >> 10 >> 11 HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include >> 12 >> 13 all: hid-example
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.