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

Commit b744484b authored by Puja Gupta's avatar Puja Gupta Committed by Runmin Wang
Browse files

arm64: add config option to enable DT overlay



Add config option to enable DT overlay. This option sets DTC_FLAGS to
enable DT compilation with overlay support.

Change-Id: I74b1ed9828ec94093fab40a70c0cd0c155796c94
Signed-off-by: default avatarShashank Mittal <mittals@codeaurora.org>
Signed-off-by: default avatarPuja Gupta <pujag@codeaurora.org>
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent a006512d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1140,6 +1140,11 @@ config BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES
	  Space separated list of names of dtbs to append when
	  building a concatenated Image.gz-dtb.

config BUILD_ARM64_DT_OVERLAY
	bool "enable DT overlay compilation support"
	depends on OF
	help
	  This option enables support for DT overlay compilation.
endmenu

menu "Userspace binary formats"
+4 −1
Original line number Diff line number Diff line
@@ -122,8 +122,11 @@ endif

KBUILD_DTBS	:= dtbs

all:	Image.gz $(KBUILD_DTBS) $(subst $\",,$(CONFIG_BUILD_ARM64_APPENDED_KERNEL_IMAGE_NAME))
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
export DTC_FLAGS := -@
endif

all:	Image.gz $(KBUILD_DTBS) $(subst $\",,$(CONFIG_BUILD_ARM64_APPENDED_KERNEL_IMAGE_NAME))

Image: vmlinux
	$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@