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