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 | d202cce | 2022-03-11 12:10:01 -0700 | [diff] [blame] | 8 | obj-$(CONFIG_$(SPL_TPL_)PARTITIONS) += part.o |
AKASHI Takahiro | efb9a9d | 2022-04-19 10:05:09 +0900 | [diff] [blame] | 9 | ifdef CONFIG_$(SPL_TPL_)BLK |
| 10 | obj-$(CONFIG_$(SPL_TPL_)PARTITIONS) += disk-uclass.o |
| 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 |
| 14 | ifneq ($(CONFIG_$(SPL_TPL_)BLK),$(CONFIG_SPL_LEGACY_BLOCK),) |
Simon Glass | 6ebcddf | 2022-02-28 12:08:29 -0700 | [diff] [blame] | 15 | obj-$(CONFIG_$(SPL_TPL_)MAC_PARTITION) += part_mac.o |
| 16 | obj-$(CONFIG_$(SPL_TPL_)DOS_PARTITION) += part_dos.o |
| 17 | obj-$(CONFIG_$(SPL_TPL_)ISO_PARTITION) += part_iso.o |
| 18 | obj-$(CONFIG_$(SPL_TPL_)AMIGA_PARTITION) += part_amiga.o |
| 19 | obj-$(CONFIG_$(SPL_TPL_)EFI_PARTITION) += part_efi.o |
Simon Glass | 37ee2f5 | 2022-08-11 19:34:44 -0600 | [diff] [blame] | 20 | endif |