Skip to content
Commit 37359aae authored by Rohit Mathew's avatar Rohit Mathew 🐛 Committed by Tony Nadackal
Browse files

build-buildroot.sh: restrict packing IOMMU artifacts



If "$LINUX_OUTDIR/tools/iommu/smmute" folder exists on the host
machine, IOMMU artifacts would be packed to be part of the ext3
partition targetted for grub ramdisk. This works fine in general cases.
However, if LINUX_TOOLS_IOMMU_BUILD is set to 0 and the previous build
is not cleaned, the scripts end up with failed access on empty
"$LINUX_OUTDIR/tools/iommu/smmute" directory. Prevent this issue from
happening by adding an additional check to see if
LINUX_TOOLS_IOMMU_BUILD is set to 1 before proceeding with adding IOMMU
artifacts.

Signed-off-by: Rohit Mathew's avatarRohit Mathew <rohit.mathew@arm.com>
Change-Id: Ia5da464c715028e478e298925447f15f4e9bd9ff
parent ff5a1d04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment