blob: af3879372b687c1cdceadd4d4b8ce6e0a428da1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
inherit image_types
CONVERSIONTYPES += "sparse"
CONVERSION_CMD:sparse() {
in="${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}"
out="${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.sparse"
case "${type}" in
ext*)
ext2simg "$in" "$out"
;;
*)
img2simg "$in" "$out"
;;
esac
}
CONVERSION_DEPENDS_sparse = "android-tools-native"
|