lineage: Don't enforce specifying image name on prebuilt kernel
- The goal of specifying kernel image name was to whether kernel needs
appended dtb or not, which is not something required if the kernel is
prebuilt
Ref:
[0]: Commit edc1cebc2f
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I6b43756a2eac59729a67b5f80dac112f8b6bcc5b
This commit is contained in:
committed by
Bruno Martins
parent
23591a8530
commit
48d0111db6
@@ -99,8 +99,10 @@ else
|
||||
KERNEL_ADDITIONAL_CONFIG_SRC := /dev/null
|
||||
endif
|
||||
|
||||
ifeq ($(BOARD_KERNEL_IMAGE_NAME),)
|
||||
$(error BOARD_KERNEL_IMAGE_NAME not defined.)
|
||||
ifeq ($(TARGET_PREBUILT_KERNEL),)
|
||||
ifeq ($(BOARD_KERNEL_IMAGE_NAME),)
|
||||
$(error BOARD_KERNEL_IMAGE_NAME not defined.)
|
||||
endif
|
||||
endif
|
||||
TARGET_PREBUILT_INT_KERNEL := $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/$(BOARD_KERNEL_IMAGE_NAME)
|
||||
|
||||
|
Reference in New Issue
Block a user