lkml.org 
[lkml]   [2020]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] habanalabs: fix up absolute include instructions
Hi Greg,

On Tue, 28 Jul 2020 19:18:51 +0200 Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
>
> diff --git a/drivers/misc/habanalabs/common/Makefile b/drivers/misc/habanalabs/common/Makefile
> index 97d03b5c8683..b984bfa4face 100644
> --- a/drivers/misc/habanalabs/common/Makefile
> +++ b/drivers/misc/habanalabs/common/Makefile
> @@ -1,6 +1,4 @@
> # SPDX-License-Identifier: GPL-2.0-only
> -subdir-ccflags-y += -I$(src)/common

I've seen oter places use

subdir-ccflags-y += -I$(srcdir)/$(src)/common

which would probably work as well. i.e. just change this in the
Makefiles rather than every source file.

--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-07-29 00:11    [W:0.058 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site