From ba2468c582934a97445f78bbbbb652386c642439 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Mon, 14 Sep 2015 21:05:25 -0500 Subject: search for bootloader inputs in installed share dir We remove the hard-coded default bootloader as part of this, and instead hard-code the name of an installed default bootloader input. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9aeb8b7..925dbc2 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,11 @@ share/boot/%: boot/%.elf %.o: %.c $(CC) $(CFLAGS) -c $< -o $@ +src/saturn-mkboot.o: src/paths.h + +src/paths.h: config.mak + echo "#define DATA_PATH \"$(sharedir)\"" > $@ + $(DESTDIR)$(bindir)/%: bin/% $(INSTALL) -D $< $@ -- cgit v1.2.3