summaryrefslogtreecommitdiff
path: root/disk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'disk/Makefile')
-rw-r--r--disk/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/disk/Makefile b/disk/Makefile
index c479145..128db77 100644
--- a/disk/Makefile
+++ b/disk/Makefile
@@ -28,11 +28,11 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libdisk.a
COBJS-y += part.o
-COBJS-y += part_mac.o
-COBJS-y += part_dos.o
-COBJS-y += part_iso.o
-COBJS-y += part_amiga.o
-COBJS-y += part_efi.o
+COBJS-$(CONFIG_MAC_PARTITION) += part_mac.o
+COBJS-$(CONFIG_DOS_PARTITION) += part_dos.o
+COBJS-$(CONFIG_ISO_PARTITION) += part_iso.o
+COBJS-$(CONFIG_AMIGA_PARTITION) += part_amiga.o
+COBJS-$(CONFIG_EFI_PARTITION) += part_efi.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)