[PATCH] efi: add missing Kconfig selects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Building EFI code without block device and partition support enabled
will fail with:

| drivers/built-in.o: In function `efi_bio_probe':
| (.text+0x125d): undefined reference to `blockdevice_register'
| drivers/built-in.o: In function `efi_bio_probe':
| (.text+0x126c): undefined reference to `parse_partition_table'
| Makefile:766: recipe for target 'barebox' failed

Thus always select BLOCK and PARTITION_DISK when enabling EFI_BOOTUP.

Signed-off-by: Enrico Jorns <ejo@xxxxxxxxxxxxxx>
---
 drivers/efi/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/efi/Kconfig b/drivers/efi/Kconfig
index 2cd9dd504f..cca1a2e1d6 100644
--- a/drivers/efi/Kconfig
+++ b/drivers/efi/Kconfig
@@ -1,2 +1,4 @@
 config EFI_BOOTUP
 	bool
+	select BLOCK
+	select PARTITION_DISK
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux