Hi!
I'm trying to add memtool module to Android 4.2.2. According to suggestions received I've applied patch for this (android-imx6-kitkat/0400-ENGR00268294-Add-memtool-test-into-i.MX6-android.patch at master · rabeeh/a...) - it's ofr 4.4.4 but it probably should work on 4.2.2. When patch applied, Android.mk was added to folder /external/linux-test/test/memtool.
Unfortunatelly, after rebuilding android filesystem I still have no executable here. Is there any more place, that I have to select this module to be included?
解決済! 解決策の投稿を見る。
I've solved it by myself.
Applied patch was using
LOCAL_MODULE_TAGS := tests
while to properly compile user build we need to change it to
LOCAL_MODULE_TAGS := optional
and add module name memtool to PRODUCT_PACKAGES in vendor board makefille which for our is /device/variscite/var_som_mx6q/var_som_mx6q.mk. So it's like this:
PRODUCT_PACKAGES += \
memtool
I've solved it by myself.
Applied patch was using
LOCAL_MODULE_TAGS := tests
while to properly compile user build we need to change it to
LOCAL_MODULE_TAGS := optional
and add module name memtool to PRODUCT_PACKAGES in vendor board makefille which for our is /device/variscite/var_som_mx6q/var_som_mx6q.mk. So it's like this:
PRODUCT_PACKAGES += \
memtool
Thank you for posting the answer Krysztof, I think you could have algo used:
LOCAL_MODULE_TAGS := eng
But if I'm using user build (lunch var_som_mx6q-user) will this also work for module, that is selected to be included in eng build?