diff --git a/build/target/product/lineage_sdk_phone_x86.mk b/build/target/product/lineage_sdk_phone_x86.mk index 1ed2d231..89042fb2 100644 --- a/build/target/product/lineage_sdk_phone_x86.mk +++ b/build/target/product/lineage_sdk_phone_x86.mk @@ -1,4 +1,4 @@ -# Copyright (C) 2021 The LineageOS Project +# Copyright (C) 2021-2023 The LineageOS Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,6 +16,9 @@ $(call inherit-product, build/target/product/sdk_phone_x86.mk) include vendor/lineage/build/target/product/lineage_generic_target.mk +# Always build modules from source +PRODUCT_MODULE_BUILD_FROM_SOURCE := true + # Enable mainline checking PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed diff --git a/build/target/product/lineage_sdk_phone_x86_64.mk b/build/target/product/lineage_sdk_phone_x86_64.mk index 183ee02d..553b11e7 100644 --- a/build/target/product/lineage_sdk_phone_x86_64.mk +++ b/build/target/product/lineage_sdk_phone_x86_64.mk @@ -1,4 +1,4 @@ -# Copyright (C) 2021 The LineageOS Project +# Copyright (C) 2021-2023 The LineageOS Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,6 +16,9 @@ $(call inherit-product, build/target/product/sdk_phone_x86_64.mk) include vendor/lineage/build/target/product/lineage_generic_target.mk +# Always build modules from source +PRODUCT_MODULE_BUILD_FROM_SOURCE := true + # Enable mainline checking PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed