blob: 45588cf66e4bc645fe0def04291f9ca7592202f5 [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 Glassd202cce2022-03-11 12:10:01 -07008obj-$(CONFIG_$(SPL_TPL_)PARTITIONS) += part.o
AKASHI Takahiroefb9a9d2022-04-19 10:05:09 +09009ifdef CONFIG_$(SPL_TPL_)BLK
10obj-$(CONFIG_$(SPL_TPL_)PARTITIONS) += disk-uclass.o
11endif
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
14ifneq ($(CONFIG_$(SPL_TPL_)BLK),$(CONFIG_SPL_LEGACY_BLOCK),)
Simon Glass6ebcddf2022-02-28 12:08:29 -070015obj-$(CONFIG_$(SPL_TPL_)MAC_PARTITION) += part_mac.o
16obj-$(CONFIG_$(SPL_TPL_)DOS_PARTITION) += part_dos.o
17obj-$(CONFIG_$(SPL_TPL_)ISO_PARTITION) += part_iso.o
18obj-$(CONFIG_$(SPL_TPL_)AMIGA_PARTITION) += part_amiga.o
19obj-$(CONFIG_$(SPL_TPL_)EFI_PARTITION) += part_efi.o
Simon Glass37ee2f52022-08-11 19:34:44 -060020endif