pantah: control the kernel by release configuration
Bug: 317784824 Change-Id: Ib7533e29e13b814f1bf8c669f9163b98af45e469 Signed-off-by: Aaron Ding <aaronding@google.com>
This commit is contained in:
parent
bbad2a774d
commit
688f385dae
2 changed files with 18 additions and 0 deletions
|
@ -20,6 +20,15 @@ $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
|
||||||
TARGET_KERNEL_DIR ?= device/google/pantah-kernel
|
TARGET_KERNEL_DIR ?= device/google/pantah-kernel
|
||||||
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
||||||
|
|
||||||
|
ifdef RELEASE_GOOGLE_CHEETAH_KERNEL_VERSION
|
||||||
|
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_CHEETAH_KERNEL_VERSION)
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifdef RELEASE_GOOGLE_CHEETAH_KERNEL_DIR
|
||||||
|
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_CHEETAH_KERNEL_DIR)
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_CHEETAH_KERNEL_DIR)/kernel-headers
|
||||||
|
endif
|
||||||
|
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/pantah/prebuilts/device-vendor-cheetah.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/pantah/prebuilts/device-vendor-cheetah.mk)
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/gs201/prebuilts/device-vendor.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/gs201/prebuilts/device-vendor.mk)
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/gs201/proprietary/device-vendor.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/gs201/proprietary/device-vendor.mk)
|
||||||
|
|
|
@ -20,6 +20,15 @@ $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
|
||||||
TARGET_KERNEL_DIR ?= device/google/pantah-kernel
|
TARGET_KERNEL_DIR ?= device/google/pantah-kernel
|
||||||
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
TARGET_BOARD_KERNEL_HEADERS := device/google/pantah-kernel/kernel-headers
|
||||||
|
|
||||||
|
ifdef RELEASE_GOOGLE_PANTHER_KERNEL_VERSION
|
||||||
|
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_PANTHER_KERNEL_VERSION)
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifdef RELEASE_GOOGLE_PANTHER_KERNEL_DIR
|
||||||
|
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_PANTHER_KERNEL_DIR)
|
||||||
|
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_PANTHER_KERNEL_DIR)/kernel-headers
|
||||||
|
endif
|
||||||
|
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/pantah/prebuilts/device-vendor-panther.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/pantah/prebuilts/device-vendor-panther.mk)
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/gs201/prebuilts/device-vendor.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/gs201/prebuilts/device-vendor.mk)
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/gs201/proprietary/device-vendor.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/gs201/proprietary/device-vendor.mk)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue