Switch kernel directory to control by build flag
Bug: 337161745 Change-Id: I48c8a9863ea57591ab5ce9dfc294a5274567d46c
This commit is contained in:
parent
e4a1ed9484
commit
766d3ac535
1 changed files with 8 additions and 2 deletions
|
@ -14,8 +14,14 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
TARGET_KERNEL_DIR ?= device/google/comet-kernel
|
||||
TARGET_BOARD_KERNEL_HEADERS ?= device/google/comet-kernel/kernel-headers
|
||||
ifdef RELEASE_GOOGLE_COMET_KERNEL_DIR
|
||||
TARGET_KERNEL_DIR ?= $(RELEASE_GOOGLE_COMET_KERNEL_DIR)
|
||||
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_GOOGLE_COMET_KERNEL_DIR)/kernel-headers
|
||||
else
|
||||
TARGET_KERNEL_DIR ?= device/google/comet-kernels/6.1/24D1
|
||||
TARGET_BOARD_KERNEL_HEADERS ?= device/google/comet-kernels/6.1/24D1/kernel-headers
|
||||
endif
|
||||
|
||||
TARGET_RECOVERY_DEFAULT_ROTATION := ROTATION_RIGHT
|
||||
|
||||
LOCAL_PATH := device/google/comet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue