Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 31f60b6 | 2001-07-05 14:47:08 +0000 | [diff] [blame] | 2 | # |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 3 | # (C) Copyright 2000-2006 |
wdenk | 31f60b6 | 2001-07-05 14:47:08 +0000 | [diff] [blame] | 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
wdenk | 31f60b6 | 2001-07-05 14:47:08 +0000 | [diff] [blame] | 5 | |
Masahiro Yamada | 0d68fb1 | 2014-02-04 17:24:28 +0900 | [diff] [blame] | 6 | #ccflags-y += -DET_DEBUG -DDEBUG |
wdenk | 31f60b6 | 2001-07-05 14:47:08 +0000 | [diff] [blame] | 7 | |
Simon Glass | 4cafa21 | 2024-09-29 19:49:54 -0600 | [diff] [blame] | 8 | obj-$(CONFIG_$(PHASE_)PARTITIONS) += part.o |
| 9 | ifdef CONFIG_$(PHASE_)BLK |
| 10 | obj-$(CONFIG_$(PHASE_)PARTITIONS) += disk-uclass.o |
AKASHI Takahiro | efb9a9d | 2022-04-19 10:05:09 +0900 | [diff] [blame] | 11 | endif |
Simon Glass | 37ee2f5 | 2022-08-11 19:34:44 -0600 | [diff] [blame] | 12 | |
Simon Glass | 3bf7d7a | 2022-08-11 19:34:48 -0600 | [diff] [blame] | 13 | # Must have BLK or SPL_LEGACY_BLOCK to support partitions |
Simon Glass | 4cafa21 | 2024-09-29 19:49:54 -0600 | [diff] [blame] | 14 | ifneq ($(CONFIG_$(PHASE_)BLK),$(CONFIG_SPL_LEGACY_BLOCK),) |
| 15 | obj-$(CONFIG_$(PHASE_)MAC_PARTITION) += part_mac.o |
| 16 | obj-$(CONFIG_$(PHASE_)DOS_PARTITION) += part_dos.o |
| 17 | obj-$(CONFIG_$(PHASE_)ISO_PARTITION) += part_iso.o |
| 18 | obj-$(CONFIG_$(PHASE_)AMIGA_PARTITION) += part_amiga.o |
| 19 | obj-$(CONFIG_$(PHASE_)EFI_PARTITION) += part_efi.o |
Simon Glass | 37ee2f5 | 2022-08-11 19:34:44 -0600 | [diff] [blame] | 20 | endif |