so it can be reused on any ARCH Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> --- arch/efi/efi/Makefile | 5 ++++- drivers/Makefile | 1 + drivers/block/Makefile | 1 + {arch/efi/efi => drivers/block}/efi-block-io.c | 0 4 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 drivers/block/Makefile rename {arch/efi/efi => drivers/block}/efi-block-io.c (100%) diff --git a/arch/efi/efi/Makefile b/arch/efi/efi/Makefile index a856e5907..f088c7a94 100644 --- a/arch/efi/efi/Makefile +++ b/arch/efi/efi/Makefile @@ -1,2 +1,5 @@ -obj-y += efi.o clocksource.o efi-block-io.o efi-device.o efi-image.o +obj-y += clocksource.o +obj-y += efi.o +obj-y += efi-device.o +obj-y += efi-image.o bbenv-y += env-efi diff --git a/drivers/Makefile b/drivers/Makefile index 6a70f6ee1..9ff261ad2 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -1,4 +1,5 @@ obj-y += base/ +obj-y += block/ obj-$(CONFIG_ARM_AMBA) += amba/ obj-y += net/ obj-y += serial/ diff --git a/drivers/block/Makefile b/drivers/block/Makefile new file mode 100644 index 000000000..8812c0fae --- /dev/null +++ b/drivers/block/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_EFI_BOOTUP) += efi-block-io.o diff --git a/arch/efi/efi/efi-block-io.c b/drivers/block/efi-block-io.c similarity index 100% rename from arch/efi/efi/efi-block-io.c rename to drivers/block/efi-block-io.c -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox