Switch kernel directory to control by build flag
Bug: 337161745 Change-Id: Ie7d2f8623846a72de8dc1a423616e3bccbf1508c
This commit is contained in:
parent
8425d0957e
commit
c9075ff47b
5 changed files with 35 additions and 10 deletions
|
@ -14,8 +14,13 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
TARGET_KERNEL_DIR ?= device/google/caimito-kernel
|
ifdef RELEASE_GOOGLE_CAIMAN_KERNEL_DIR
|
||||||
TARGET_BOARD_KERNEL_HEADERS := device/google/caimito-kernel/kernel-headers
|
TARGET_KERNEL_DIR ?= $(RELEASE_GOOGLE_CAIMAN_KERNEL_DIR)
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_GOOGLE_CAIMAN_KERNEL_DIR)/kernel-headers
|
||||||
|
else
|
||||||
|
TARGET_KERNEL_DIR ?= device/google/caimito-kernels/6.1/24D1
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS ?= device/google/caimito-kernels/6.1/24D1/kernel-headers
|
||||||
|
endif
|
||||||
|
|
||||||
LOCAL_PATH := device/google/caimito
|
LOCAL_PATH := device/google/caimito
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,13 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
TARGET_KERNEL_DIR ?= device/google/caimito-kernel
|
ifdef RELEASE_GOOGLE_KOMODO_KERNEL_DIR
|
||||||
TARGET_BOARD_KERNEL_HEADERS := device/google/caimito-kernel/kernel-headers
|
TARGET_KERNEL_DIR ?= $(RELEASE_GOOGLE_KOMODO_KERNEL_DIR)
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_GOOGLE_KOMODO_KERNEL_DIR)/kernel-headers
|
||||||
|
else
|
||||||
|
TARGET_KERNEL_DIR ?= device/google/caimito-kernels/6.1/24D1
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS ?= device/google/caimito-kernels/6.1/24D1/kernel-headers
|
||||||
|
endif
|
||||||
|
|
||||||
LOCAL_PATH := device/google/caimito
|
LOCAL_PATH := device/google/caimito
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,13 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
TARGET_KERNEL_DIR ?= device/google/caimito-kernel
|
ifdef RELEASE_GOOGLE_RIPCURRENT24_KERNEL_DIR
|
||||||
TARGET_BOARD_KERNEL_HEADERS := device/google/caimito-kernel/kernel-headers
|
TARGET_KERNEL_DIR ?= $(RELEASE_GOOGLE_RIPCURRENT24_KERNEL_DIR)
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_GOOGLE_RIPCURRENT24_KERNEL_DIR)/kernel-headers
|
||||||
|
else
|
||||||
|
TARGET_KERNEL_DIR ?= device/google/caimito-kernels/6.1/24D1
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS ?= device/google/caimito-kernels/6.1/24D1/kernel-headers
|
||||||
|
endif
|
||||||
|
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/caimito/prebuilts/device-vendor-ripcurrent24.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/caimito/prebuilts/device-vendor-ripcurrent24.mk)
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/zumapro/prebuilts/device-vendor.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/zumapro/prebuilts/device-vendor.mk)
|
||||||
|
|
|
@ -14,8 +14,13 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
TARGET_KERNEL_DIR ?= device/google/caimito-kernel
|
ifdef RELEASE_GOOGLE_RIPCURRENTPRO_KERNEL_DIR
|
||||||
TARGET_BOARD_KERNEL_HEADERS := device/google/caimito-kernel/kernel-headers
|
TARGET_KERNEL_DIR ?= $(RELEASE_GOOGLE_RIPCURRENTPRO_KERNEL_DIR)
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_GOOGLE_RIPCURRENTPRO_KERNEL_DIR)/kernel-headers
|
||||||
|
else
|
||||||
|
TARGET_KERNEL_DIR ?= device/google/caimito-kernels/6.1/24D1
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS ?= device/google/caimito-kernels/6.1/24D1/kernel-headers
|
||||||
|
endif
|
||||||
|
|
||||||
USE_SWIFTSHADER := false
|
USE_SWIFTSHADER := false
|
||||||
BOARD_USES_SWIFTSHADER := false
|
BOARD_USES_SWIFTSHADER := false
|
||||||
|
|
|
@ -14,8 +14,13 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
TARGET_KERNEL_DIR ?= device/google/caimito-kernel
|
ifdef RELEASE_GOOGLE_TOKAY_KERNEL_DIR
|
||||||
TARGET_BOARD_KERNEL_HEADERS := device/google/caimito-kernel/kernel-headers
|
TARGET_KERNEL_DIR ?= $(RELEASE_GOOGLE_TOKAY_KERNEL_DIR)
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_GOOGLE_TOKAY_KERNEL_DIR)/kernel-headers
|
||||||
|
else
|
||||||
|
TARGET_KERNEL_DIR ?= device/google/caimito-kernels/6.1/24D1
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS ?= device/google/caimito-kernels/6.1/24D1/kernel-headers
|
||||||
|
endif
|
||||||
|
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/caimito/prebuilts/device-vendor-tokay.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/caimito/prebuilts/device-vendor-tokay.mk)
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/zumapro/prebuilts/device-vendor.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/zumapro/prebuilts/device-vendor.mk)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue