diff options
| author | Shashank Mittal <mittals@codeaurora.org> | 2017-03-17 13:27:09 -0700 |
|---|---|---|
| committer | Shashank Mittal <mittals@codeaurora.org> | 2017-04-06 11:24:50 -0700 |
| commit | d076b99bfe0b26ef7b146d690e5b9b080a529848 (patch) | |
| tree | 7a1da18f1bec156427b07c13f6194c2781d254f4 | |
| parent | 47c6fb9e6368a8f7bd7f4605e8e90e49c1732d02 (diff) | |
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: Shashank Mittal <mittals@codeaurora.org>
| -rw-r--r-- | arch/arm64/Kconfig | 5 | ||||
| -rw-r--r-- | arch/arm64/Makefile | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index cbfb3f4428e0..2d85e309477a 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1030,6 +1030,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" diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 101632379b8b..fcfa3c7dedc1 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -92,6 +92,10 @@ endif KBUILD_DTBS := dtbs +ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) +export DTC_FLAGS := -@ +endif + all: $(KBUILD_IMAGE) $(KBUILD_DTBS) boot := arch/arm64/boot |
