From 761bc94299835a86280ccaf864c20fc4eef47ec2 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Fri, 17 Aug 2018 19:17:42 +0800 Subject: [PATCH] ANDROID: rk: kbuild: dtc generation of symbols For support device tree overlay. Change-Id: I05e3ca42ae987f3e269c9c891a7b3e276b813231 Signed-off-by: Tao Huang --- scripts/Makefile.lib | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 3e97d9019dcb..d04737e2eae4 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -244,6 +244,11 @@ cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) || \ # --------------------------------------------------------------------------- DTC ?= $(objtree)/scripts/dtc/dtc +# Generation of symbols for Android +ifeq ($(CONFIG_ANDROID),y) +DTC_FLAGS += -@ +endif + # Disable noisy checks by default ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),) DTC_FLAGS += -Wno-unit_address_vs_reg \