summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2021-12-21 11:43:54 -0800
committerCole Faust <colefaust@google.com>2021-12-21 11:43:54 -0800
commit9a36a9b438a764dbde28f6b90bd46acdddce918b (patch)
treee3f94a02405a11416c717ef8e82a16fcc19fcca6
parentc7689fdc8cbe920eb7f75d607890eaee571e4412 (diff)
downloadcrosshatch-9a36a9b438a764dbde28f6b90bd46acdddce918b.tar.gz
Having no variables in include/inherit-product statements makes the conversion to starlark cleaner. Bug: 211659921 Test: Presubmits Change-Id: I9855bf74876f1895429fb5e5c173f619d29c74aa
-rw-r--r--self-extractors/root/proprietary/BoardConfigVendor.mk9
-rw-r--r--self-extractors/root/proprietary/device-vendor.mk6
-rw-r--r--self-extractors_blueline/root/proprietary/BoardConfigVendor.mk9
-rw-r--r--self-extractors_blueline/root/proprietary/device-vendor.mk6
4 files changed, 12 insertions, 18 deletions
diff --git a/self-extractors/root/proprietary/BoardConfigVendor.mk b/self-extractors/root/proprietary/BoardConfigVendor.mk
index 088de0f0..4e5d82a1 100644
--- a/self-extractors/root/proprietary/BoardConfigVendor.mk
+++ b/self-extractors/root/proprietary/BoardConfigVendor.mk
@@ -13,10 +13,9 @@
# limitations under the License.
ifneq ($(filter blueline,$(TARGET_DEVICE)),)
-LOCAL_STEM := blueline/BoardConfigPartial.mk
+-include vendor/google_devices/blueline/BoardConfigPartial.mk
+-include vendor/qcom/blueline/BoardConfigPartial.mk
else
-LOCAL_STEM := crosshatch/BoardConfigPartial.mk
+-include vendor/google_devices/crosshatch/BoardConfigPartial.mk
+-include vendor/qcom/crosshatch/BoardConfigPartial.mk
endif
-
--include vendor/google_devices/$(LOCAL_STEM)
--include vendor/qcom/$(LOCAL_STEM)
diff --git a/self-extractors/root/proprietary/device-vendor.mk b/self-extractors/root/proprietary/device-vendor.mk
index f6c5130d..6a95aa64 100644
--- a/self-extractors/root/proprietary/device-vendor.mk
+++ b/self-extractors/root/proprietary/device-vendor.mk
@@ -12,7 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-LOCAL_STEM := crosshatch/device-partial.mk
-
-$(call inherit-product-if-exists, vendor/google_devices/$(LOCAL_STEM))
-$(call inherit-product-if-exists, vendor/qcom/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/google_devices/crosshatch/device-partial.mk)
+$(call inherit-product-if-exists, vendor/qcom/crosshatch/device-partial.mk)
diff --git a/self-extractors_blueline/root/proprietary/BoardConfigVendor.mk b/self-extractors_blueline/root/proprietary/BoardConfigVendor.mk
index 088de0f0..4e5d82a1 100644
--- a/self-extractors_blueline/root/proprietary/BoardConfigVendor.mk
+++ b/self-extractors_blueline/root/proprietary/BoardConfigVendor.mk
@@ -13,10 +13,9 @@
# limitations under the License.
ifneq ($(filter blueline,$(TARGET_DEVICE)),)
-LOCAL_STEM := blueline/BoardConfigPartial.mk
+-include vendor/google_devices/blueline/BoardConfigPartial.mk
+-include vendor/qcom/blueline/BoardConfigPartial.mk
else
-LOCAL_STEM := crosshatch/BoardConfigPartial.mk
+-include vendor/google_devices/crosshatch/BoardConfigPartial.mk
+-include vendor/qcom/crosshatch/BoardConfigPartial.mk
endif
-
--include vendor/google_devices/$(LOCAL_STEM)
--include vendor/qcom/$(LOCAL_STEM)
diff --git a/self-extractors_blueline/root/proprietary/device-vendor.mk b/self-extractors_blueline/root/proprietary/device-vendor.mk
index 852ea5ec..23d7f0ba 100644
--- a/self-extractors_blueline/root/proprietary/device-vendor.mk
+++ b/self-extractors_blueline/root/proprietary/device-vendor.mk
@@ -12,7 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-LOCAL_STEM := blueline/device-partial.mk
-
-$(call inherit-product-if-exists, vendor/google_devices/$(LOCAL_STEM))
-$(call inherit-product-if-exists, vendor/qcom/$(LOCAL_STEM))
+$(call inherit-product-if-exists, vendor/google_devices/blueline/device-partial.mk)
+$(call inherit-product-if-exists, vendor/qcom/blueline/device-partial.mk)