blob: 27f1eb8d8c7c631c629d260d7e0d179696510a5a [file] [log] [blame]
Simon Shields7ef0e172017-09-04 21:11:16 +10001# Insert new variables inside the Lineage structure
Simon Shields4ed46052017-08-23 12:03:36 +10002lineage_soong:
3 $(hide) mkdir -p $(dir $@)
4 $(hide) (\
5 echo '{'; \
Simon Shields7ef0e172017-09-04 21:11:16 +10006 echo '"Lineage": {'; \
Arne Coucheron73296f12017-12-27 11:36:09 +01007 echo ' "Needs_text_relocations": $(if $(filter true,$(TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS)),true,false),'; \
Adrian DCae509e42018-02-18 14:51:05 +01008 echo ' "Specific_camera_parameter_library": "$(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY)",'; \
9 echo ' "Target_shim_libs": "$(subst $(space),:,$(TARGET_LD_SHIM_LIBS))",'; \
10 echo ' "Uses_generic_camera_parameter_library": $(if $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY),false,true),'; \
11 echo ' "Uses_qcom_bsp_legacy": $(if $(filter true,$(TARGET_USES_QCOM_BSP_LEGACY)),true,false)'; \
Simon Shields7ef0e172017-09-04 21:11:16 +100012 echo '},'; \
Simon Shields4ed46052017-08-23 12:03:36 +100013 echo '') > $(SOONG_VARIABLES_TMP)