Makefile (326ea986ac150acdc7656d57fca647db80b50158) Makefile (dcbd48917ea5fb667337198aa751fa2920f5a6f8)
1#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier: GPL-2.0+
6#
7
1#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier: GPL-2.0+
6#
7
8include $(TOPDIR)/config.mk
9
10#CFLAGS += -DET_DEBUG -DDEBUG
11
8#CFLAGS += -DET_DEBUG -DDEBUG
9
12LIB = $(obj)libdisk.o
13
14COBJS-$(CONFIG_PARTITIONS) += part.o
15COBJS-$(CONFIG_MAC_PARTITION) += part_mac.o
16COBJS-$(CONFIG_DOS_PARTITION) += part_dos.o
17COBJS-$(CONFIG_ISO_PARTITION) += part_iso.o
18COBJS-$(CONFIG_AMIGA_PARTITION) += part_amiga.o
19COBJS-$(CONFIG_EFI_PARTITION) += part_efi.o
20
21COBJS := $(COBJS-y)
22SRCS := $(COBJS:.o=.c)
23OBJS := $(addprefix $(obj),$(COBJS))
24
25all: $(LIB)
26
27$(LIB): $(obj).depend $(OBJS)
28 $(call cmd_link_o_target, $(OBJS))
29
30#########################################################################
31
32# defines $(obj).depend target
33include $(SRCTREE)/rules.mk
34
35sinclude $(obj).depend
36
37#########################################################################
10obj-$(CONFIG_PARTITIONS) += part.o
11obj-$(CONFIG_MAC_PARTITION) += part_mac.o
12obj-$(CONFIG_DOS_PARTITION) += part_dos.o
13obj-$(CONFIG_ISO_PARTITION) += part_iso.o
14obj-$(CONFIG_AMIGA_PARTITION) += part_amiga.o
15obj-$(CONFIG_EFI_PARTITION) += part_efi.o