disassemble-aml: -o actually works
Turns out that option was borken due to weird iasl command line handling. Fix it. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
9b897b399e
commit
c27c1cc3ca
|
@ -42,11 +42,16 @@ do
|
||||||
else
|
else
|
||||||
extra=""
|
extra=""
|
||||||
fi
|
fi
|
||||||
asl=${aml}.dsl
|
|
||||||
if [[ "${outdir}" ]];
|
if [[ "${outdir}" ]];
|
||||||
then
|
then
|
||||||
asl="${outdir}"/${machine}/${asl}
|
# iasl strips an extension from prefix if there.
|
||||||
|
# since we have some files with . in the name, the
|
||||||
|
# last component gets interpreted as an extension:
|
||||||
|
# add another extension to work around that.
|
||||||
|
prefix="-p ${outdir}/${aml}.dsl"
|
||||||
|
else
|
||||||
|
prefix=""
|
||||||
fi
|
fi
|
||||||
iasl -d -p ${asl} ${extra} ${aml}
|
iasl ${extra} ${prefix} -d ${aml}
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue