shusky: control the kernel by release configuration
Bug: 317784824 Change-Id: I20edf043647311bd6bafd9720fa5074ae2f5da04 Signed-off-by: Aaron Ding <aaronding@google.com>
This commit is contained in:
parent
397cab2166
commit
07f8628d8c
3 changed files with 27 additions and 0 deletions
|
@ -20,6 +20,15 @@ $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
|
|||
TARGET_KERNEL_DIR ?= device/google/shusky-kernel
|
||||
TARGET_BOARD_KERNEL_HEADERS ?= device/google/shusky-kernel/kernel-headers
|
||||
|
||||
ifdef RELEASE_GOOGLE_SHIBA_KERNEL_VERSION
|
||||
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_SHIBA_KERNEL_VERSION)
|
||||
endif
|
||||
|
||||
ifdef RELEASE_GOOGLE_SHIBA_KERNEL_DIR
|
||||
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_SHIBA_KERNEL_DIR)
|
||||
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_SHIBA_KERNEL_DIR)/kernel-headers
|
||||
endif
|
||||
|
||||
LOCAL_PATH := device/google/shusky
|
||||
|
||||
$(call inherit-product-if-exists, vendor/google_devices/shusky/prebuilts/device-vendor-shiba.mk)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue