~sircmpwn/hare unlisted

0922ab640d300c58d0407a45c1c3cf967c386c42 — Drew DeVault 2 months ago c3f9c9d
sys::harts: add _start build tag

This will prevent the driver from building it under normal
circumstances, allowing us to let the driver build sys rather than
having the the Makefile do it.

Build tags are still not implemented in the driver, this is a
forward-looking change.
4 files changed, 4 insertions(+), 4 deletions(-)

M lib/sys/Makefile
M lib/sys/configure
R lib/sys/{hart0.s => hart0+_start.s}
R lib/sys/{hart1.ha => hart1+_start.ha}
M lib/sys/Makefile => lib/sys/Makefile +2 -2
@@ 1,6 1,6 @@
lib/sys/harts.o: lib/sys/hart0.o lib/sys/hart1.o
lib/sys/harts.o: lib/sys/hart0+_start.o lib/sys/hart1+_start.o
	@printf 'LD\t$@\n'
	@$(LD) -r -o $@ lib/sys/hart0.o lib/sys/hart1.o
	@$(LD) -r -o $@ lib/sys/hart0+_start.o lib/sys/hart1+_start.o

harert_dependencies=\
	lib/sys/assert.ha \

M lib/sys/configure => lib/sys/configure +2 -2
@@ 3,8 3,8 @@ all="$all lib/sys/harts.o lib/sys/libhart.a"

hart1() {
	genrules harts.o \
		lib/sys/hart0.s \
		lib/sys/hart1.ha
		lib/sys/hart0+_start.s \
		lib/sys/hart1+_start.ha
}

libsys() {

R lib/sys/hart0.s => lib/sys/hart0+_start.s +0 -0

R lib/sys/hart1.ha => lib/sys/hart1+_start.ha +0 -0