In build for arch x86_64, the below pkgconfig from libdrm-rs.xml is
processed.
<pkgconfig>
<file>libdrm.pc</file>
<file>libdrm_exynos.pc</file>
<file>libdrm_vc4.pc</file>
<file>libdrm_vigs.pc</file>
</pkgconfig>
Unfortunately, there is no libdrm_vc4.pc and script emits the below log.
[rootstrap_gen_1.0_64.sh:153] + no pkgconfig file(//usr/lib64/pkgconfig/libdrm_vc4.pc)
This gives up the remaining process, and as a result, the libdrm_vigs.pc
will be missing. Therefore, fix it to continue the remaining process.
Change-Id: I6077707008e0883089cd6ab734bfe95307cd26c7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
if [[ ! -f "${src_pc_file_path}" ]]; then
log "+ no pkgconfig file(${src_pc_file_path})"
- return 1
+ continue
fi
mkdir -p ${dest_pc_path}
if [[ ! -f "${src_pc_file_path}" ]]; then
log "+ no pkgconfig file(${src_pc_file_path})"
- return 1
+ continue
fi
mkdir -p ${dest_pc_path}