summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2015-09-14 21:58:14 -0500
committerBobby Bingham <koorogi@koorogi.info>2015-09-15 22:43:33 -0500
commit1138dd0ec507998f1749730ee53e7d89be6a0138 (patch)
tree77190a576fbcdbdc2e8f62534f90cb2cef43bad6 /Makefile
parentf71dbb43a3f09b3409683e4fca4f9ec60774914d (diff)
load security code from install directory
This allows us the compiled saturn-mkboot to be distributed, as it's no longer linked against the security code binary, but rather loads it at runtime.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 061914e..bd61842 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ install: install-bins install-data
clean:
rm -f $(BINS) $(OBJS) $(BOOTBINS) $(BOOTELFS) $(BOOTOBJS) $(DEPENDS)
-bin/saturn-mkboot: src/securitycode.o src/symbols.o
+bin/saturn-mkboot: src/symbols.o
bin/%: src/%.o
$(CC) $(LDFLAGS) $^ -o $@
@@ -49,9 +49,6 @@ share/boot/%: boot/%.elf
%.elf: %.o boot/ldscript
$(SATURN_CC) $(SATURN_CFLAGS) $(SATURN_LDFLAGS) -T boot/ldscript $< -o $@
-%.c: %.bin
- tools/bin2c $< > $@
-
boot/%.o: boot/%.c
$(SATURN_CC) $(SATURN_CFLAGS) -c $< -o $@
$(SATURN_CC) -MM $(SATURN_CFLAGS) $< -MT $@ > boot/$*.d