From 78e281aabc9e2e8ddf4137205eae12527b73f940 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 e2026a309692..d697b0e16d02 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -270,6 +270,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 ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),) DTC_FLAGS += -Wno-unit_address_vs_reg \