aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew McClintock2011-05-24 00:31:19 -0500
committerWolfgang Denk2011-07-26 07:10:14 -0500
commitdf3fc52608daa1e10332f59cd2f226ba400d1c98 (patch)
tree0c614241f09bc6055cbb5855feeaaeeeca975ce5 /disk/Makefile
parent07c07635b4f6d4ee2a03cd508beeeaccde4b9d7e (diff)
downloadu-boot-df3fc52608daa1e10332f59cd2f226ba400d1c98.tar.gz
u-boot-df3fc52608daa1e10332f59cd2f226ba400d1c98.tar.xz
u-boot-df3fc52608daa1e10332f59cd2f226ba400d1c98.zip
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>
Diffstat (limited to 'disk/Makefile')
-rw-r--r--disk/Makefile2
1 files changed, 1 insertions, 1 deletions
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
27 27
28LIB = $(obj)libdisk.o 28LIB = $(obj)libdisk.o
29 29
30COBJS-y += part.o 30COBJS-$(CONFIG_PARTITIONS) += part.o
31COBJS-$(CONFIG_MAC_PARTITION) += part_mac.o 31COBJS-$(CONFIG_MAC_PARTITION) += part_mac.o
32COBJS-$(CONFIG_DOS_PARTITION) += part_dos.o 32COBJS-$(CONFIG_DOS_PARTITION) += part_dos.o
33COBJS-$(CONFIG_ISO_PARTITION) += part_iso.o 33COBJS-$(CONFIG_ISO_PARTITION) += part_iso.o