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:
parent
c524926295
commit
51bfdc9784
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue