From a3b37940bdcdc04e786fcca54195f957aa83d72b Mon Sep 17 00:00:00 2001 From: Zhao Wei Liew Date: Fri, 13 Jan 2017 08:21:29 +0800 Subject: build: kernel: Remove obsolete checks * BOARD_USES_UBOOT is unused. * Same goes for BOARD_USES_UNCOMPRESSED_BOOT. Furthermore, it is superseded by TARGET_USES_UNCOMPRESSED_KERNEL. Change-Id: I9f0e2848fcd0cd212bccacf14df55ad03f821051 --- core/tasks/kernel.mk | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/tasks/kernel.mk b/core/tasks/kernel.mk index bc70e38..de51b74 100644 --- a/core/tasks/kernel.mk +++ b/core/tasks/kernel.mk @@ -135,16 +135,6 @@ else KERNEL_ADDITIONAL_CONFIG_SRC := /dev/null endif -## Do be discontinued in a future version. Notify builder about target -## kernel format requirement -ifeq ($(BOARD_KERNEL_IMAGE_NAME),) -ifeq ($(BOARD_USES_UBOOT),true) - $(error "Please set BOARD_KERNEL_IMAGE_NAME to uImage") -else ifeq ($(BOARD_USES_UNCOMPRESSED_BOOT),true) - $(error "Please set BOARD_KERNEL_IMAGE_NAME to Image") -endif -endif - ifeq "$(wildcard $(KERNEL_SRC) )" "" ifneq ($(TARGET_PREBUILT_KERNEL),) HAS_PREBUILT_KERNEL := true -- cgit v1.1