arm64: Build kernel image when appended dtb is disabled

As KBUILD_TARGET rule is not defined for CONFIG_BUILD_ARM64_APPENDED_DTB
disabled case, Image is not generated. Add support to build the kernel
when the CONFIG_BUILD_ARM64_APPENDED_DTB is disabled.

Change-Id: I08ae193d2394c34fdd3d537c9224d3b69e81f401
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
This commit is contained in:
Prakruthi Deepak Heragu 2019-02-19 10:21:11 -08:00
parent e59d225863
commit 36889869ef

View file

@ -127,6 +127,9 @@ boot := arch/arm64/boot
ifeq ($(CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE),y)
KBUILD_TARGET := $(addsuffix -dtb,$(KBUILD_IMAGE))
KBUILD_IMAGE := $(boot)/$(addsuffix -dtb,$(KBUILD_IMAGE))
else
KBUILD_TARGET := $(KBUILD_IMAGE)
KBUILD_IMAGE := $(boot)/$(KBUILD_IMAGE)
endif
KBUILD_DTBS := dtbs