blob: 2248a659f8be8115f3458dd0e1ed89715a19788f [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenk31f60b62001-07-05 14:47:08 +00002#
Marian Balakowiczf9328632006-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 Yamada6825a952014-02-04 17:24:28 +09006#ccflags-y += -DET_DEBUG -DDEBUG
wdenk31f60b62001-07-05 14:47:08 +00007
Simon Glass5c10c8b2024-09-29 19:49:54 -06008obj-$(CONFIG_$(PHASE_)PARTITIONS) += part.o
9ifdef CONFIG_$(PHASE_)BLK
10obj-$(CONFIG_$(PHASE_)PARTITIONS) += disk-uclass.o
AKASHI Takahiro43855fd2022-04-19 10:05:09 +090011endif
Simon Glassfc614d22022-08-11 19:34:44 -060012
Simon Glass7f8967c2022-08-11 19:34:48 -060013# Must have BLK or SPL_LEGACY_BLOCK to support partitions
Simon Glass5c10c8b2024-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 Glassfc614d22022-08-11 19:34:44 -060020endif