diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 291941e..c9c6cb4 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -22,6 +22,16 @@ if [ ! -f "${HELPER}" ]; then fi source "${HELPER}" +function vendor_imports() { + cat <>"$1" + "device/motorola/sm6225-common", + "hardware/qcom-caf/sm8250", + "hardware/qcom-caf/wlan", + "vendor/qcom/opensource/dataservices", + "vendor/qcom/opensource/display", +EOF +} + # Initialize the helper for common setup_vendor "${DEVICE_COMMON}" "${VENDOR_COMMON:-$VENDOR}" "${ANDROID_ROOT}" true @@ -36,6 +46,7 @@ write_footers if [ -s "${MY_DIR}/../../${VENDOR}/${DEVICE}/proprietary-files.txt" ]; then # Reinitialize the helper for device + source "${MY_DIR}/../../${VENDOR}/${DEVICE}/setup-makefiles.sh" setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false # Warning headers and guards