summaryrefslogtreecommitdiff
path: root/disk/Makefile
diff options
context:
space:
mode:
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 6ce5a687b3..b197692c23 100644
--- a/disk/Makefile
+++ b/disk/Makefile
@@ -5,7 +5,7 @@
#ccflags-y += -DET_DEBUG -DDEBUG
-obj-$(CONFIG_PARTITIONS) += part.o
+obj-$(CONFIG_$(SPL_TPL_)PARTITIONS) += part.o
obj-$(CONFIG_$(SPL_)MAC_PARTITION) += part_mac.o
obj-$(CONFIG_$(SPL_)DOS_PARTITION) += part_dos.o
obj-$(CONFIG_$(SPL_)ISO_PARTITION) += part_iso.o