mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
f0570d91ce
If CONFIG_OF_UNITTEST=y then a kernel image make will always cause .version to be incremented, even if there are not source changes. This is caused by a lack of dependency tracking and checking for drivers/of/unittest-data/testcases.dtb.o. Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Rob Herring <robh@kernel.org>
22 lines
761 B
Makefile
22 lines
761 B
Makefile
obj-y = base.o device.o platform.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_MTD) += of_mtd.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_UNITTEST) += unittest-data/
|
|
|
|
CFLAGS_fdt.o = -I$(src)/../../scripts/dtc/libfdt
|
|
CFLAGS_fdt_address.o = -I$(src)/../../scripts/dtc/libfdt
|