Commit bbd540c0 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau: fix out-of-tree module build

The $(srctree) addition a while back busted building the out-of-tree
version of the module, and I've been hacking it up ever since.

This allows us to work around the issue.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 82c8c4dd
NOUVEAU_PATH ?= $(srctree)
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
ccflags-y += -I $(srctree)/$(src)/include ccflags-y += -I $(NOUVEAU_PATH)/$(src)/include
ccflags-y += -I $(srctree)/$(src)/include/nvkm ccflags-y += -I $(NOUVEAU_PATH)/$(src)/include/nvkm
ccflags-y += -I $(srctree)/$(src)/nvkm ccflags-y += -I $(NOUVEAU_PATH)/$(src)/nvkm
ccflags-y += -I $(srctree)/$(src) ccflags-y += -I $(NOUVEAU_PATH)/$(src)
# NVKM - HW resource manager # NVKM - HW resource manager
#- code also used by various userspace tools/tests #- code also used by various userspace tools/tests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment