Makefile 650 B

1234567891011121314151617181920212223
  1. # Makefile for the Linux device tree
  2. obj-y := core.o sys.o bus.o dd.o \
  3. driver.o class.o platform.o \
  4. cpu.o firmware.o init.o map.o devres.o \
  5. attribute_container.o transport_class.o
  6. obj-y += power/
  7. obj-$(CONFIG_HAS_DMA) += dma-mapping.o
  8. obj-$(CONFIG_ISA) += isa.o
  9. obj-$(CONFIG_FW_LOADER) += firmware_class.o
  10. obj-$(CONFIG_NUMA) += node.o
  11. obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
  12. obj-$(CONFIG_SMP) += topology.o
  13. obj-$(CONFIG_IOMMU_API) += iommu.o
  14. ifeq ($(CONFIG_SYSFS),y)
  15. obj-$(CONFIG_MODULES) += module.o
  16. endif
  17. obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o
  18. ifeq ($(CONFIG_DEBUG_DRIVER),y)
  19. EXTRA_CFLAGS += -DDEBUG
  20. endif