[igt-dev] [PATCH i-g-t 2/2] lib/meson.build: Add igt_dpcd for compilation

Sharma, Swati2 swati2.sharma at intel.com
Tue Oct 10 07:05:55 UTC 2023


Hi Kunal,

On 26-Sep-23 1:57 PM, Kunal Joshi wrote:
> Added igt_dpcd in meson.build for compilation
> 
> Cc: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
> Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
> ---
>   lib/meson.build | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/lib/meson.build b/lib/meson.build
> index a7bccafc3..5e62d3eda 100644
> --- a/lib/meson.build
> +++ b/lib/meson.build
> @@ -24,6 +24,7 @@ lib_sources = [
>   	'igt_device_scan.c',
>   	'igt_drm_clients.h',
>   	'igt_drm_fdinfo.c',
> +	'igt_dpcd.c',

Though this is not completely sorted, try to add new entry in sorted manner.

>   	'igt_aux.c',
>   	'igt_gt.c',
>   	'igt_halffloat.c',
> @@ -254,6 +255,10 @@ lib_igt_perf_build = static_library('igt_perf',
>   lib_igt_perf = declare_dependency(link_with : lib_igt_perf_build,
>   				  include_directories : inc)
>   
> +lib_igt_dpcd = static_library('igt_dpcd',
> +	['igt_dpcd.c'],
> +	include_directories : inc)
> +
>   scan_dep = [
>   	glib,
>   	libudev,


More information about the igt-dev mailing list