Linux Audio

Check our new training course

Loading...
v3.1
 1# kbuild trick to avoid linker error. Can be omitted if a module is built.
 2obj- := dummy.o
 3
 4# List of programs to build
 5hostprogs-y := hid-example
 6
 7# Tell kbuild to always build the programs
 8always := $(hostprogs-y)
 9
10HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include
v5.4
 1# SPDX-License-Identifier: GPL-2.0
 
 
 2# List of programs to build
 3hostprogs-y := hid-example
 4
 5# Tell kbuild to always build the programs
 6always := $(hostprogs-y)
 7
 8HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include
 9
10all: hid-example