mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 01:08:03 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
19
scripts/mkuboot.sh
Executable file
19
scripts/mkuboot.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Build U-Boot image when `mkimage' tool is available.
|
||||
#
|
||||
|
||||
MKIMAGE=$(type -path "${CROSS_COMPILE}mkimage")
|
||||
|
||||
if [ -z "${MKIMAGE}" ]; then
|
||||
MKIMAGE=$(type -path mkimage)
|
||||
if [ -z "${MKIMAGE}" ]; then
|
||||
# Doesn't exist
|
||||
echo '"mkimage" command not found - U-Boot images will not be built' >&2
|
||||
exit 1;
|
||||
fi
|
||||
fi
|
||||
|
||||
# Call "mkimage" to create U-Boot image
|
||||
${MKIMAGE} "$@"
|
Loading…
Add table
Add a link
Reference in a new issue