From df3fc52608daa1e10332f59cd2f226ba400d1c98 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Tue, 24 May 2011 05:31:19 +0000 Subject: 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 --- disk/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'disk/Makefile') diff --git a/disk/Makefile b/disk/Makefile index 17266a2eb6..5affe344eb 100644 --- a/disk/Makefile +++ b/disk/Makefile @@ -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 -- cgit v1.2.3