In Android 11 calling make directly is no longer supported, so if
we don't find mkdtimgand try to build it using make, it will fail:
mkdtimg: File not found!
Building mkdtimg
build/make/core/main.mk:2: Calling make directly is no longer supported.
build/make/core/main.mk:3: Either use 'envsetup.sh; m' or 'build/soong/soong_ui.bash --make-mode'
build/make/core/main.mk:4: *** done. Stop.
In Android 11 calling
make
directly is no longer supported, so if we don't findmkdtimg
and try to build it usingmake
, it will fail: