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

Commit 000625c6 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "arm64: add config option to enable DT overlay"

parents cdb0f01b 989a41a3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1315,6 +1315,13 @@ 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.
	  Enabling this option sets required flags to add DT
	  overlay in the compilation.
endmenu

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

KBUILD_DTBS	:= dtbs

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

all:	$(KBUILD_DTBS) $(subst $\",,$(CONFIG_BUILD_ARM64_APPENDED_KERNEL_IMAGE_NAME))

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