[Letux-kernel] [PATCH] pvrsgx: compile fix for out-of-tree builds

H. Nikolaus Schaller hns at goldelico.com
Tue Nov 26 19:07:40 CET 2019


> Am 26.11.2019 um 18:44 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> include paths were not correct for out-of-tree builds
> (make O=somewhere)

Ah, you are doing out-of tree build. That may indeed make a difference.
Is it "." if built in-tree?


> Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
> ---
> .../pvrsgx/1.14.3699939/eurasia_km/Makefile   | 26 +++++++++----------
> 1 file changed, 13 insertions(+), 13 deletions(-)
> 
> diff --git a/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/Makefile b/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/Makefile
> index 4c54f167531f..d6dbeb513566 100644
> --- a/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/Makefile
> +++ b/drivers/gpu/drm/pvrsgx/1.14.3699939/eurasia_km/Makefile
> @@ -43,23 +43,23 @@ ccflags-y += \
> 	-Iinclude \
> 	-Iarch/arm/mach-omap2 \
> 	-Idrivers/video/fbdev/omap2 \
> -	-I$(src)/ \
> -	-I$(src)/include4 \
> -	-I$(src)/services4/include \
> -	-I$(src)/services4/include/env/linux \
> -	-I$(src)/services4/system/include \
> -	-I$(src)/services4/srvkm/bridged \
> -	-I$(src)/services4/srvkm/bridged/sgx \
> -	-I$(src)/services4/srvkm/devices/sgx \
> -	-I$(src)/services4/srvkm/env/linux \
> -	-I$(src)/services4/srvkm/hwdefs \
> -	-I$(src)/services4/srvkm/include \
> -	-I$(src)/services4/3rdparty/bufferclass_ti
> +	-I$(srctree)/$(src)/ \
> +	-I$(srctree)/$(src)/include4 \
> +	-I$(srctree)/$(src)/services4/include \
> +	-I$(srctree)/$(src)/services4/include/env/linux \
> +	-I$(srctree)/$(src)/services4/system/include \
> +	-I$(srctree)/$(src)/services4/srvkm/bridged \
> +	-I$(srctree)/$(src)/services4/srvkm/bridged/sgx \
> +	-I$(srctree)/$(src)/services4/srvkm/devices/sgx \
> +	-I$(srctree)/$(src)/services4/srvkm/env/linux \
> +	-I$(srctree)/$(src)/services4/srvkm/hwdefs \
> +	-I$(srctree)/$(src)/services4/srvkm/include \
> +	-I$(srctree)/$(src)/services4/3rdparty/bufferclass_ti
> 
> # choose SoC integration variant to choose the right source subtree
> 
> ccflags-y += \
> -	-I$(src)/services4/system/$(SOC_FAMILY)
> +	-I$(srctree)/$(src)/services4/system/$(SOC_FAMILY)
> 
> ifeq ($(SOC_FAMILY),omap)
> $(TARGET) += \
> -- 
> 2.20.1
> 
> _______________________________________________
> http://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel



More information about the Letux-kernel mailing list