Closed drossetti closed 7 years ago
NVIDIA ?= $(shell (find /usr/src/nvidia-* -name "nv-p2p.h"|xargs dirname))
if nv-p2p.h is not present, this line returns an obscure error:
make[1]: Entering directory /usr/src/kernels/2.6.32-642.el6.x86_64' dirname: missing operand Trydirname --help' for more information.
/usr/src/kernels/2.6.32-642.el6.x86_64' dirname: missing operand Try
take this back, this is handled by switching to a local copy (compat_nv-p2p.h)
NVIDIA ?= $(shell (find /usr/src/nvidia-* -name "nv-p2p.h"|xargs dirname))
if nv-p2p.h is not present, this line returns an obscure error:
make[1]: Entering directory
/usr/src/kernels/2.6.32-642.el6.x86_64' dirname: missing operand Try
dirname --help' for more information.