1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # 2 # 3 3 4 dtb-y := system.dtb 4 dtb-y := system.dtb 5 5 6 ifneq ($(DTB),) 6 ifneq ($(DTB),) 7 obj-y += linked_dtb.o 7 obj-y += linked_dtb.o 8 8 9 # Ensure system.dtb exists 9 # Ensure system.dtb exists 10 $(obj)/linked_dtb.o: $(obj)/system.dtb 10 $(obj)/linked_dtb.o: $(obj)/system.dtb 11 11 12 # Generate system.dtb from $(DTB).dtb 12 # Generate system.dtb from $(DTB).dtb 13 ifneq ($(DTB),system) 13 ifneq ($(DTB),system) 14 $(obj)/system.dtb: $(obj)/$(DTB).dtb 14 $(obj)/system.dtb: $(obj)/$(DTB).dtb 15 $(call if_changed,copy) 15 $(call if_changed,copy) 16 endif 16 endif 17 endif 17 endif 18 18 19 # Rule to build device tree blobs 19 # Rule to build device tree blobs 20 DTC_FLAGS := -p 1024 20 DTC_FLAGS := -p 1024
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.