summaryrefslogtreecommitdiffstats
path: root/samples/hidraw/Makefile
blob: f5c3012ffa795b676b7e4ff0bb63626844f1ad2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# SPDX-License-Identifier: GPL-2.0
# kbuild trick to avoid linker error. Can be omitted if a module is built.
obj- := dummy.o

# List of programs to build
hostprogs-y := hid-example

# Tell kbuild to always build the programs
always := $(hostprogs-y)

HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include

all: hid-example
OpenPOWER on IntegriCloud