sonyxperiadev / device-sony-common

70 stars 143 forks source link

[DNM] [r-mr1] hardware: Add qti-headers intermediary module #838

Closed ix5 closed 3 years ago

ix5 commented 3 years ago

Selects qti_kernel_headers repo based on kernel version so that multiple versions can live inside on AOSP tree.

Needs following changes:

SOONG_CONFIG_NAMESPACES += qti_kernel_headers
SOONG_CONFIG_qti_kernel_headers := version
SOONG_CONFIG_qti_kernel_headers_version := 4.14

Inisde common-headers needs a rename of module name from qti_kernel_headers to qti_kernel_headers_4.14 (based on version).

This will finally allow multiple kernel versions (and BSPs) to live side-by-side again.

ix5 commented 3 years ago

This isn't going to work in device-sony-common because of the root-level Android.bp declaring a soong namespace. Needs its own repo