mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 22:36:48 +07:00
b56b5528f5
Having device_nodes be kobjects is only needed if sysfs or OF_DYNAMIC is enabled. Otherwise, having a kobject in struct device_node is unnecessary bloat in minimal kernel configurations. Likewise, bin_attribute is only needed in struct property when sysfs is enabled, so we can make it configurable too. Tested-by: Nicolas Pitre <nico@linaro.org> Reviewed-by: Frank Rowand <frowand.list@gmail.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Rob Herring <robh@kernel.org>
20 lines
699 B
Makefile
20 lines
699 B
Makefile
obj-y = base.o device.o platform.o property.o
|
|
obj-$(CONFIG_OF_KOBJ) += kobj.o
|
|
obj-$(CONFIG_OF_DYNAMIC) += dynamic.o
|
|
obj-$(CONFIG_OF_FLATTREE) += fdt.o
|
|
obj-$(CONFIG_OF_EARLY_FLATTREE) += fdt_address.o
|
|
obj-$(CONFIG_OF_PROMTREE) += pdt.o
|
|
obj-$(CONFIG_OF_ADDRESS) += address.o
|
|
obj-$(CONFIG_OF_IRQ) += irq.o
|
|
obj-$(CONFIG_OF_NET) += of_net.o
|
|
obj-$(CONFIG_OF_UNITTEST) += unittest.o
|
|
obj-$(CONFIG_OF_MDIO) += of_mdio.o
|
|
obj-$(CONFIG_OF_PCI) += of_pci.o
|
|
obj-$(CONFIG_OF_PCI_IRQ) += of_pci_irq.o
|
|
obj-$(CONFIG_OF_RESERVED_MEM) += of_reserved_mem.o
|
|
obj-$(CONFIG_OF_RESOLVE) += resolver.o
|
|
obj-$(CONFIG_OF_OVERLAY) += overlay.o
|
|
obj-$(CONFIG_OF_NUMA) += of_numa.o
|
|
|
|
obj-$(CONFIG_OF_UNITTEST) += unittest-data/
|