From 1138dd0ec507998f1749730ee53e7d89be6a0138 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Mon, 14 Sep 2015 21:58:14 -0500 Subject: 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. --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3