diff options
Diffstat (limited to 'payloads/libpayload/drivers/Makefile.inc')
-rw-r--r-- | payloads/libpayload/drivers/Makefile.inc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/Makefile.inc b/payloads/libpayload/drivers/Makefile.inc index a1891beb73..901c77e69d 100644 --- a/payloads/libpayload/drivers/Makefile.inc +++ b/payloads/libpayload/drivers/Makefile.inc @@ -54,10 +54,18 @@ libc-$(CONFIG_GEODELX_VIDEO_CONSOLE) += video/font8x16.c libc-$(CONFIG_COREBOOT_VIDEO_CONSOLE) += video/corebootfb.c libc-$(CONFIG_COREBOOT_VIDEO_CONSOLE) += video/font8x16.c +# AHCI/ATAPI driver libc-$(CONFIG_STORAGE) += storage/storage.c +libc-$(CONFIG_STORAGE_AHCI) += storage/ahci.c +libc-$(CONFIG_STORAGE_AHCI) += storage/ahci_common.c +ifeq ($(CONFIG_STORAGE_ATA),y) libc-$(CONFIG_STORAGE_ATA) += storage/ata.c +libc-$(CONFIG_STORAGE_ATA) += storage/ahci_ata.c +endif +ifeq ($(CONFIG_STORAGE_ATAPI),y) libc-$(CONFIG_STORAGE_ATAPI) += storage/atapi.c -libc-$(CONFIG_STORAGE_AHCI) += storage/ahci.c +libc-$(CONFIG_STORAGE_ATAPI) += storage/ahci_atapi.c +endif # USB stack libc-$(CONFIG_USB) += usb/usbinit.c |