1 printf "Running egl code generators-->\n"
2 mkdir
-p $build_dir/src
/egl
/drivers
/dri2
3 # fix gbm/dri level 2/drm egl platform (because most of the builds do enable
4 # the additional x11/dri3/drm egl platform)
5 cp -f $src_dir/src
/egl
/drivers
/dri
2/egl_dri2.c
$build_dir/src
/egl
/drivers
/dri2
6 patch -i $script_dir/egl_dri2.c.
patch $build_dir/src
/egl
/drivers
/dri
2/egl_dri2.c
&
7 printf "<--egl code generation done\n"