Thank Jimmychan:
No, I've not defined it, because my target is the *clone* of the original imx8mm_evk, just changed the out
directory in makefile, so I've assumed the the build process will redo same results of original one,
(in which i've not found where such label is defined).
That what I've do:
1. copy android_build\device\fsl\imx8m\evk_8mm-> android_build\device\fsl\imx8m\my_8mm
2. add these lines in vendorsetup.sh:
add_lunch_combo my_8mm-eng
add_lunch_combo my_8mm-userdebug
3. And add this line in AndroidProducts.mk
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/my_8mm/my_8mm.mk
4. renamed evk_8mm.mk to my_8mm.mk and changed these lines:
IMX_DEVICE_PATH := device/fsl/imx8m/my_8mm
PRODUCT_NAME := my_8mm
PRODUCT_DEVICE := my_8mm
5. Modified BoardConfig.mk:
IMX_DEVICE_PATH := device/fsl/imx8m/my_8mm
TARGET_BOOTLOADER_BOARD_NAME := MY
PRODUCT_MODEL := MY_8MM
6. run build as documented using my_8mm-eng as target....
This is the line in BoardConfig.mk that cause trouble:
BOARD_HAVE_BLUETOOTH_QCOM := true
If I set BOARD_HAVE_BLUETOOTH_QCOM := false, compilation is OK but
BT do not works.
Because build involves a huge numbers of configuration scripts , it is very difficult for me
to figure out where is the problem in creating a new target...
Any suggestion is wellcome
Thanks again,
M. Sangalli