sonyxperiadev / kernel-sony-msm-4.14-common

4 stars 12 forks source link

[aosp/LA.UM.7.1.r1] Build mkdtimg correctly in Android 11 #10

Closed pablomh closed 4 years ago

pablomh commented 4 years ago

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.
MarijnS95 commented 4 years ago

@jerpelea This'll work in Q as well, and is anyway "the better way" :slightly_smiling_face: