mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02: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:
parent
072e3c5533
commit
761bc94299
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user