pmb.aportgen: prefix $_outdir to dtbTool-sprd -p arg (MR 2107)

The -p arg is suppose to point to the folder where the dtc program
resides (if it is not found in PATH). If we use an _outdir, which the
template currently does, then the arg needs to be -p
$_outdir/scripts/dtc/, and not -p scripts/dtc/, as scripts/dtc/ only
contains the dtc source code.
This commit is contained in:
Henrik Grimler 2021-09-05 15:56:52 +02:00
parent c524926295
commit 51bfdc9784
No known key found for this signature in database
GPG Key ID: EBF5ECFFFEE34DED
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def generate_apkbuild(args, pkgname, deviceinfo, patches):
if soc_vendor == "spreadtrum":
makedepends.append("dtbtool-sprd")
build += """
dtbTool-sprd -p scripts/dtc/ \\
dtbTool-sprd -p "$_outdir/scripts/dtc/" \\
-o "$_outdir/arch/$_carch/boot"/dt.img \\
"$_outdir/arch/$_carch/boot/dts/\""""
elif soc_vendor == "exynos":