Allow the make_dtb script to work outside of a "make buildkernel" context
by setting MACHINE from uname -m if it's not set already. Reviewed by: imp, tuexen
This commit is contained in:
parent
4863c75af7
commit
1ec2d237e0
@ -12,6 +12,10 @@ if [ -z "$dts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "${MACHINE}" ]; then
|
||||
MACHINE=$(uname -m)
|
||||
fi
|
||||
|
||||
for d in ${dts}; do
|
||||
dtb=${dtb_path}/`basename $d .dts`.dtb
|
||||
echo "converting $d -> $dtb"
|
||||
|
Loading…
x
Reference in New Issue
Block a user