Commit 575ed809 authored by Simon Marlow's avatar Simon Marlow
Browse files

.raw_s and .s live in $(odir), not the source dir

parent a3e027a3
......@@ -134,10 +134,10 @@ else
$(odir_)%.raw_s : %.hc
$(CC) -x c $< -o $@ -S -O $(HC_BOOT_CC_OPTS) -I. `echo $(patsubst -monly-%-regs, -DSTOLEN_X86_REGS=%, $(filter -monly-%-regs, $($*_HC_OPTS))) | sed 's/^$$/-DSTOLEN_X86_REGS=4/'`
$(odir_)%.s : %.raw_s
$(odir_)%.s : $(odir_)%.raw_s
$(MANGLER) $< $@ $(patsubst -monly-%-regs, %, $(filter -monly-%-regs, $($*_HC_OPTS)))
$(odir_)%.o : %.s
$(odir_)%.o : $(odir_)%.s
$(CC) -c -o $@ $<
endif # not BootingFromUnregisterisedHc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment