Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48d0111d authored by Aayush Gupta's avatar Aayush Gupta Committed by Bruno Martins
Browse files

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 edc1cebc

Signed-off-by: default avatarAayush Gupta <aayushgupta219@gmail.com>
Change-Id: I6b43756a2eac59729a67b5f80dac112f8b6bcc5b
parent 23591a85
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -99,9 +99,11 @@ else
    KERNEL_ADDITIONAL_CONFIG_SRC := /dev/null
endif

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)

ifeq "$(wildcard $(KERNEL_SRC) )" ""