Define LOCAL_PATH

LOCAL_PATH is not guaranteed, define it before using.

Bug: 286503615
Test: build
Change-Id: I93f1e8995488e3dd6510c7424f109e8f943f42ce
This commit is contained in:
Jacky Liu 2023-06-09 17:02:28 +08:00
parent 3ec8480176
commit 703f6e1326
2 changed files with 6 additions and 2 deletions

View file

@ -17,6 +17,8 @@
TARGET_KERNEL_DIR ?= device/google/shusky-kernel TARGET_KERNEL_DIR ?= device/google/shusky-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/shusky-kernel/kernel-headers TARGET_BOARD_KERNEL_HEADERS := device/google/shusky-kernel/kernel-headers
LOCAL_PATH := device/google/shusky
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
USE_UWBFIELDTESTQM := true USE_UWBFIELDTESTQM := true
endif endif

View file

@ -17,6 +17,8 @@
TARGET_KERNEL_DIR ?= device/google/shusky-kernel TARGET_KERNEL_DIR ?= device/google/shusky-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/shusky-kernel/kernel-headers TARGET_BOARD_KERNEL_HEADERS := device/google/shusky-kernel/kernel-headers
LOCAL_PATH := device/google/shusky
$(call inherit-product-if-exists, vendor/google_devices/shusky/prebuilts/device-vendor-shiba.mk) $(call inherit-product-if-exists, vendor/google_devices/shusky/prebuilts/device-vendor-shiba.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/prebuilts/device-vendor.mk) $(call inherit-product-if-exists, vendor/google_devices/zuma/prebuilts/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/device-vendor.mk) $(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/device-vendor.mk)