aboutsummaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-02-28 12:08:29 -0700
committerTom Rini <trini@konsulko.com>2022-04-06 14:03:17 -0400
commita42d2caa634065ed8b0c1143a5f48589450a8528 (patch)
tree55f88514045bcc23d74dd1c961b41038adba7a95 /disk
parent564e532eea0d605114f3afe310ca673b366e8c14 (diff)
downloadu-boot-a42d2caa634065ed8b0c1143a5f48589450a8528.zip
u-boot-a42d2caa634065ed8b0c1143a5f48589450a8528.tar.gz
u-boot-a42d2caa634065ed8b0c1143a5f48589450a8528.tar.bz2
disk: Correct the conditions for SPL
These filesystems may have different settings for SPL and TPL. Use the correct Makefile variable to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'disk')
-rw-r--r--disk/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/disk/Makefile b/disk/Makefile
index b197692..5ca10c5 100644
--- a/disk/Makefile
+++ b/disk/Makefile
@@ -6,8 +6,8 @@
#ccflags-y += -DET_DEBUG -DDEBUG
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
-obj-$(CONFIG_$(SPL_)AMIGA_PARTITION) += part_amiga.o
-obj-$(CONFIG_$(SPL_)EFI_PARTITION) += part_efi.o
+obj-$(CONFIG_$(SPL_TPL_)MAC_PARTITION) += part_mac.o
+obj-$(CONFIG_$(SPL_TPL_)DOS_PARTITION) += part_dos.o
+obj-$(CONFIG_$(SPL_TPL_)ISO_PARTITION) += part_iso.o
+obj-$(CONFIG_$(SPL_TPL_)AMIGA_PARTITION) += part_amiga.o
+obj-$(CONFIG_$(SPL_TPL_)EFI_PARTITION) += part_efi.o