Switch default kernel directory and change build flag naming
Bug: 309749142 Change-Id: I1be08e889dfa60d6a24acac7f71f21b0241221b1
This commit is contained in:
parent
182fa65fc7
commit
9f7ed821c8
1 changed files with 3 additions and 11 deletions
|
@ -19,18 +19,10 @@ $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
|
||||||
|
|
||||||
TARGET_RECOVERY_DEFAULT_ROTATION := ROTATION_RIGHT
|
TARGET_RECOVERY_DEFAULT_ROTATION := ROTATION_RIGHT
|
||||||
|
|
||||||
ifdef RELEASE_GOOGLE_FELIX_KERNEL_VERSION
|
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_FELIX_VERSION)
|
||||||
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_FELIX_KERNEL_VERSION)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef RELEASE_GOOGLE_FELIX_KERNEL_DIR
|
|
||||||
# Keeps flexibility for kasan and ufs builds
|
# Keeps flexibility for kasan and ufs builds
|
||||||
TARGET_KERNEL_DIR ?= $(RELEASE_GOOGLE_FELIX_KERNEL_DIR)
|
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_FELIX_DIR)
|
||||||
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_GOOGLE_FELIX_KERNEL_DIR)/kernel-headers
|
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_FELIX_DIR)/kernel-headers
|
||||||
else
|
|
||||||
TARGET_KERNEL_DIR ?= device/google/felix-kernel
|
|
||||||
TARGET_BOARD_KERNEL_HEADERS ?= device/google/felix-kernel/kernel-headers
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(call inherit-product-if-exists, vendor/google_devices/felix/prebuilts/device-vendor-felix.mk)
|
$(call inherit-product-if-exists, vendor/google_devices/felix/prebuilts/device-vendor-felix.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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue