summaryrefslogtreecommitdiff
path: root/src/grp-boot
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-10 11:22:38 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-10 11:22:38 -0400
commitf22246a490fcb1e8d60f8ae0759b3f1daca7c061 (patch)
tree6ddfb70728fbc2a4920da544c5d4971958bea900 /src/grp-boot
parent1cfeca882ebbd2de350a62e97e7ace35d3a57644 (diff)
fix build system
Diffstat (limited to 'src/grp-boot')
-rw-r--r--src/grp-boot/systemd-boot/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/grp-boot/systemd-boot/Makefile b/src/grp-boot/systemd-boot/Makefile
index 2a56560c2c..9766e1bb82 100644
--- a/src/grp-boot/systemd-boot/Makefile
+++ b/src/grp-boot/systemd-boot/Makefile
@@ -113,8 +113,7 @@ systemd_boot_sources = \
src/boot/efi/boot.c
systemd_boot = systemd-boot$(EFI_MACHINE_TYPE_NAME).efi
-std.out_files += $(systemd_boot)
-std.sys_files += $(bootlibdir)/$(systemd_boot)
+bootlib_DATA += $(systemd_boot)
$(outdir)/systemd-boot.so: $(addprefix $(outdir)/,$(notdir $(systemd_boot_sources:.c=.o)))
# ------------------------------------------------------------------------------
stub_headers = \
@@ -137,8 +136,7 @@ stub_sources = \
src/boot/efi/stub.c
stub = linux$(EFI_MACHINE_TYPE_NAME).efi.stub
-std.out_files += $(stub)
-std.sys_files += $(bootlibdir)/$(stub)
+bootlib_DATA += $(stub)
$(outdir)/linux.so: $(addprefix $(outdir)/,$(notdir $(stub_sources:.c=.o)))
# ------------------------------------------------------------------------------
$(outdir)/test-efi-disk.img: $(outdir)/$(systemd_boot) $(outdir)/$(stub) $(srcdir)/test-efi-create-disk.sh
@@ -147,7 +145,7 @@ $(outdir)/test-efi-disk.img: $(outdir)/$(systemd_boot) $(outdir)/$(stub) $(srcdi
test-efi: $(outdir)/test-efi-disk.img
$(QEMU) -machine accel=kvm -m 1024 -bios $(QEMU_BIOS) -snapshot test-efi-disk.img
-std.clean_files += test-efi-disk.img
+files.out.int += test-efi-disk.img
# ------------------------------------------------------------------------------
endif # HAVE_GNUEFI
endif # ENABLE_EFI