mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 19:47:49 +07:00
8c925b2635
The current way of building the of_physmap add-ons result in just
the add-on being in the object code, and not the actual core
implementation and regress the Gemini and Versatile.
Bake the physmap_of.o object by baking physmap_of_core.o and
adding the Versatile and/or Gemini add-ons to the final object.
Rename the source file physmap_of_core.c to get the desired
build components.
Suggested-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Fixes: 4f04f68e15
("mtd: physmap_of: fixup gemini/versatile dependencies")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
50 lines
1.9 KiB
Makefile
50 lines
1.9 KiB
Makefile
#
|
|
# linux/drivers/maps/Makefile
|
|
#
|
|
|
|
ifeq ($(CONFIG_MTD_COMPLEX_MAPPINGS),y)
|
|
obj-$(CONFIG_MTD) += map_funcs.o
|
|
endif
|
|
|
|
# Chip mappings
|
|
obj-$(CONFIG_MTD_CFI_FLAGADM) += cfi_flagadm.o
|
|
obj-$(CONFIG_MTD_DC21285) += dc21285.o
|
|
obj-$(CONFIG_MTD_L440GX) += l440gx.o
|
|
obj-$(CONFIG_MTD_AMD76XROM) += amd76xrom.o
|
|
obj-$(CONFIG_MTD_ESB2ROM) += esb2rom.o
|
|
obj-$(CONFIG_MTD_ICHXROM) += ichxrom.o
|
|
obj-$(CONFIG_MTD_CK804XROM) += ck804xrom.o
|
|
obj-$(CONFIG_MTD_TSUNAMI) += tsunami_flash.o
|
|
obj-$(CONFIG_MTD_PXA2XX) += pxa2xx-flash.o
|
|
obj-$(CONFIG_MTD_PHYSMAP) += physmap.o
|
|
physmap_of-objs-y += physmap_of_core.o
|
|
physmap_of-objs-$(CONFIG_MTD_PHYSMAP_OF_VERSATILE) += physmap_of_versatile.o
|
|
physmap_of-objs-$(CONFIG_MTD_PHYSMAP_OF_GEMINI) += physmap_of_gemini.o
|
|
physmap_of-objs := $(physmap_of-objs-y)
|
|
obj-$(CONFIG_MTD_PHYSMAP_OF) += physmap_of.o
|
|
obj-$(CONFIG_MTD_PISMO) += pismo.o
|
|
obj-$(CONFIG_MTD_PMC_MSP_EVM) += pmcmsp-flash.o
|
|
obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
|
|
obj-$(CONFIG_MTD_SA1100) += sa1100-flash.o
|
|
obj-$(CONFIG_MTD_SBC_GXX) += sbc_gxx.o
|
|
obj-$(CONFIG_MTD_SC520CDP) += sc520cdp.o
|
|
obj-$(CONFIG_MTD_NETSC520) += netsc520.o
|
|
obj-$(CONFIG_MTD_TS5500) += ts5500_flash.o
|
|
obj-$(CONFIG_MTD_SUN_UFLASH) += sun_uflash.o
|
|
obj-$(CONFIG_MTD_SCx200_DOCFLASH)+= scx200_docflash.o
|
|
obj-$(CONFIG_MTD_SOLUTIONENGINE)+= solutionengine.o
|
|
obj-$(CONFIG_MTD_PCI) += pci.o
|
|
obj-$(CONFIG_MTD_IMPA7) += impa7.o
|
|
obj-$(CONFIG_MTD_UCLINUX) += uclinux.o
|
|
obj-$(CONFIG_MTD_NETtel) += nettel.o
|
|
obj-$(CONFIG_MTD_SCB2_FLASH) += scb2_flash.o
|
|
obj-$(CONFIG_MTD_IXP4XX) += ixp4xx.o
|
|
obj-$(CONFIG_MTD_PLATRAM) += plat-ram.o
|
|
obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
|
|
obj-$(CONFIG_MTD_BFIN_ASYNC) += bfin-async-flash.o
|
|
obj-$(CONFIG_MTD_RBTX4939) += rbtx4939-flash.o
|
|
obj-$(CONFIG_MTD_VMU) += vmu-flash.o
|
|
obj-$(CONFIG_MTD_GPIO_ADDR) += gpio-addr-flash.o
|
|
obj-$(CONFIG_MTD_LATCH_ADDR) += latch-addr-flash.o
|
|
obj-$(CONFIG_MTD_LANTIQ) += lantiq-flash.o
|