Makefile 546 B

1234567891011121314151617181920212223242526
  1. # SPDX-License-Identifier: GPL-2.0+
  2. #
  3. # (C) Copyright 2000-2007
  4. # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  5. # Use upstream code.
  6. obj-y += \
  7. fdt.o \
  8. fdt_wip.o \
  9. fdt_strerror.o \
  10. fdt_sw.o \
  11. fdt_rw.o \
  12. fdt_empty_tree.o \
  13. fdt_addresses.o
  14. obj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o
  15. # Locally modified for U-Boot.
  16. # TODO: split out the local modifiction.
  17. obj-y += fdt_ro.o
  18. # U-Boot own file
  19. obj-y += fdt_region.o
  20. ccflags-y := -I$(srctree)/scripts/dtc/libfdt \
  21. -DFDT_ASSUME_MASK=$(CONFIG_$(SPL_TPL_)OF_LIBFDT_ASSUME_MASK)