mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
be7cd2df1d
Using the common build support for built-in dtb files just requires adding a .dtb.o target to obj-y. The dtb now needs to be copied when unflattened because an init section is used now. Cc: Mark Salter <msalter@redhat.com> Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com> Cc: linux-c6x-dev@linux-c6x.org Signed-off-by: Rob Herring <robh@kernel.org>
11 lines
134 B
Makefile
11 lines
134 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for device trees
|
|
#
|
|
|
|
DTC_FLAGS ?= -p 1024
|
|
|
|
ifneq ($(DTB),)
|
|
obj-y += $(DTB).dtb.o
|
|
endif
|