summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2017-01-13 08:21:29 +0800
committerZhao Wei Liew <zhaoweiliew@gmail.com>2017-01-13 08:25:30 +0800
commita3b37940bdcdc04e786fcca54195f957aa83d72b (patch)
treed013882abbfbaccbb84e334ca86c3689cbcbcb1d
parent8cd2bcba15c328c124b28fc12cd1b9846633d5d5 (diff)
downloadbuild-a3b37940bdcdc04e786fcca54195f957aa83d72b.zip
build-a3b37940bdcdc04e786fcca54195f957aa83d72b.tar.gz
build-a3b37940bdcdc04e786fcca54195f957aa83d72b.tar.bz2
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
-rw-r--r--core/tasks/kernel.mk10
1 files changed, 0 insertions, 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