aboutsummaryrefslogtreecommitdiff
path: root/disk/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-03-11 12:10:01 -0700
committerTom Rini <trini@konsulko.com>2022-03-25 16:42:40 -0400
commit88ca8e26958b67c05844e7be85a7e983eb594793 (patch)
treeb29ada32837fa85446abe7c98180ce4baad1a9d1 /disk/Makefile
parent5b66ebb4e97eb2d9f15db6b32602905cf6cdd033 (diff)
downloadu-boot-88ca8e26958b67c05844e7be85a7e983eb594793.zip
u-boot-88ca8e26958b67c05844e7be85a7e983eb594793.tar.gz
u-boot-88ca8e26958b67c05844e7be85a7e983eb594793.tar.bz2
disk: Add an option for partitions in SPL
In some cases we do not want to enable partition support in SPL. Add an option to allow this. Signed-off-by: Simon Glass <sjg@chromium.org>
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 6ce5a68..b197692 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