diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2015-09-14 21:05:25 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2015-09-15 22:43:33 -0500 |
commit | ba2468c582934a97445f78bbbbb652386c642439 (patch) | |
tree | bec8f7e9d2b582d6905be840efc00d2ddf68ec38 /Makefile | |
parent | d30a6525d237105ff77e0728fd7378cc674701a3 (diff) |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 $< $@ |