Skip to content
Commit afbd31d9 authored by Julien Masson's avatar Julien Masson Committed by Jérôme Forissier
Browse files

android: convert .mk files to .bp

Android use by default Soong Build System, *.mk files are deprecated
in favor of Android.bp [1].

All the logics present in android mk files have been ported to a
single Android.bp

optee_client.device.mk set the same default flags as we did in the
old Android *.mk files.

Example of configs in device/VENDOR/BOARD/device.mk:
Before:

CFG_TEE_FS_PARENT_PATH := /mnt/vendor/persist/tee

PRODUCT_PACKAGES += \
    libteec \
    tee-supplicant

After:

include $(PATH_OPTEE_CLIENT)/optee_client.device.mk
$(call soong_config_set,optee_client,cfg_tee_fs_parent_path,/mnt/vendor/persist/tee)

PRODUCT_PACKAGES += \
    libteec \
    tee-supplicant

[1] https://source.android.com/docs/setup/build



Acked-by: default avatarJerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: default avatarJulien Masson <jmasson@baylibre.com>
parent bfe37714
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment