projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/block: Move conditional compilation to Makefile
[oweals/u-boot.git]
/
drivers
/
block
/
Makefile
diff --git
a/drivers/block/Makefile
b/drivers/block/Makefile
index a09cd2a603b1661b7a4f625c9e8d83a69542526c..642582b08819dd6629a6290b5f248d11d032eeba 100644
(file)
--- a/
drivers/block/Makefile
+++ b/
drivers/block/Makefile
@@
-25,14
+25,14
@@
include $(TOPDIR)/config.mk
LIB := $(obj)libblock.a
LIB := $(obj)libblock.a
-COBJS-
y
+= ahci.o
-COBJS-
y
+= ata_piix.o
+COBJS-
$(CONFIG_SCSI_AHCI)
+= ahci.o
+COBJS-
$(CONFIG_ATA_PIIX)
+= ata_piix.o
COBJS-$(CONFIG_FSL_SATA) += fsl_sata.o
COBJS-$(CONFIG_LIBATA) += libata.o
COBJS-$(CONFIG_SATA_SIL3114) += sata_sil3114.o
COBJS-$(CONFIG_FSL_SATA) += fsl_sata.o
COBJS-$(CONFIG_LIBATA) += libata.o
COBJS-$(CONFIG_SATA_SIL3114) += sata_sil3114.o
-COBJS-
y
+= sil680.o
-COBJS-
y
+= sym53c8xx.o
-COBJS-
y
+= systemace.o
+COBJS-
$(CONFIG_IDE_SIL680)
+= sil680.o
+COBJS-
$(CONFIG_SCSI_SYM53C8XX)
+= sym53c8xx.o
+COBJS-
$(CONFIG_SYSTEMACE)
+= systemace.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)