1 # SPDX-License-Identifier: GPL-2.0 !! 1 # kbuild trick to avoid linker error. Can be omitted if a module is built. 2 userprogs-always-y += hid-example !! 2 obj- := dummy.o 3 3 4 userccflags += -I usr/include !! 4 # List of programs to build >> 5 hostprogs-y := hid-example >> 6 >> 7 # Tell kbuild to always build the programs >> 8 always := $(hostprogs-y) >> 9 >> 10 HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include >> 11 >> 12 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.