On Tue, 30 Jul 2019, Jani Nikula <[email protected]> wrote:
> Apparently the empty Makefile has caused some confusion. Add the
> subdir-cc-flags-y as in 7fcc7ca549d4 ("drm/i915: add header search path
> to subdir Makefiles") which should be useful.
>
> The generated headers still aren't self-contained, so can't add that.
>
> References: 
> http://marc.info/[email protected]
> Cc: Chris Wilson <[email protected]>
> Cc: Lionel Landwerlin <[email protected]>
> Cc: Michal Wajdeczko <[email protected]>
> Signed-off-by: Jani Nikula <[email protected]>
>
> ---
>
> This should fix the kernel header generation:
> https://github.com/rib/gputop/pull/203

Now that Lionel helpfully merged that, I updated the series with a patch
addressing the generated headers as well. New series at
https://patchwork.freedesktop.org/series/64427/

BR,
Jani.

> ---
>  drivers/gpu/drm/i915/oa/Makefile | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/oa/Makefile 
> b/drivers/gpu/drm/i915/oa/Makefile
> index e69de29bb2d1..256bfde4a287 100644
> --- a/drivers/gpu/drm/i915/oa/Makefile
> +++ b/drivers/gpu/drm/i915/oa/Makefile
> @@ -0,0 +1,4 @@
> +# SPDX-License-Identifier: MIT
> +
> +# For building individual subdir files on the command line
> +subdir-ccflags-y += -I$(srctree)/$(src)/..

-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to