mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
ANDROID: rk: kbuild: dtc generation of symbols
For support device tree overlay. Change-Id: I05e3ca42ae987f3e269c9c891a7b3e276b813231 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user