mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
rk: kbuild: Introduce CONFIG_DTC_SYMBOLS
dtc generation of symbols by CONFIG_DTC_SYMBOLS. For support device tree overlay. Change-Id: Ia10496031bc02fd3a4ff98ab0acfc6fc9a54951b Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -317,6 +317,11 @@ endif
|
||||
DTC ?= $(objtree)/scripts/dtc/dtc
|
||||
DTC_FLAGS += $(call dtc-option,-Wno-interrupt_provider)
|
||||
|
||||
# Generation of symbols for Android
|
||||
ifeq ($(CONFIG_DTC_SYMBOLS),y)
|
||||
DTC_FLAGS += -@
|
||||
endif
|
||||
|
||||
# Disable noisy checks by default
|
||||
ifeq ($(findstring 1,$(KBUILD_EXTRA_WARN)),)
|
||||
DTC_FLAGS += $(call dtc-option,-Wno-unit_address_vs_reg) \
|
||||
|
||||
Reference in New Issue
Block a user