blob: 2248a659f8be8115f3458dd0e1ed89715a19788f [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenk31f60b62001-07-05 14:47:08 +00002#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003# (C) Copyright 2000-2006
wdenk31f60b62001-07-05 14:47:08 +00004# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
wdenk31f60b62001-07-05 14:47:08 +00005
Masahiro Yamada0d68fb12014-02-04 17:24:28 +09006#ccflags-y += -DET_DEBUG -DDEBUG
wdenk31f60b62001-07-05 14:47:08 +00007
Simon Glass4cafa212024-09-29 19:49:54 -06008obj-$(CONFIG_$(PHASE_)PARTITIONS) += part.o
9ifdef CONFIG_$(PHASE_)BLK
10obj-$(CONFIG_$(PHASE_)PARTITIONS) += disk-uclass.o
AKASHI Takahiroefb9a9d2022-04-19 10:05:09 +090011endif
Simon Glass37ee2f52022-08-11 19:34:44 -060012
Simon Glass3bf7d7a2022-08-11 19:34:48 -060013# Must have BLK or SPL_LEGACY_BLOCK to support partitions
Simon Glass4cafa212024-09-29 19:49:54 -060014ifneq ($(CONFIG_$(PHASE_)BLK),$(CONFIG_SPL_LEGACY_BLOCK),)
15obj-$(CONFIG_$(PHASE_)MAC_PARTITION) += part_mac.o
16obj-$(CONFIG_$(PHASE_)DOS_PARTITION) += part_dos.o
17obj-$(CONFIG_$(PHASE_)ISO_PARTITION) += part_iso.o
18obj-$(CONFIG_$(PHASE_)AMIGA_PARTITION) += part_amiga.o
19obj-$(CONFIG_$(PHASE_)EFI_PARTITION) += part_efi.o
Simon Glass37ee2f52022-08-11 19:34:44 -060020endif