disk/part.c: Make features optional
If we don't want to build support for any partition types we can now add #undef CONFIG_PARTITIONS in a board config file to keep this from being compiled in. Otherwise boards assume this is compiled in by default Signed-off-by: Matthew McClintock <msm@freescale.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
07c07635b4
commit
df3fc52608
@@ -27,7 +27,7 @@ include $(TOPDIR)/config.mk
|
||||
|
||||
LIB = $(obj)libdisk.o
|
||||
|
||||
COBJS-y += part.o
|
||||
COBJS-$(CONFIG_PARTITIONS) += part.o
|
||||
COBJS-$(CONFIG_MAC_PARTITION) += part_mac.o
|
||||
COBJS-$(CONFIG_DOS_PARTITION) += part_dos.o
|
||||
COBJS-$(CONFIG_ISO_PARTITION) += part_iso.o
|
||||
|
||||
Reference in New Issue
Block a user