<div dir="ltr">Hello, <div>I am trying to build RTEMS for RISC-V BSP. I applied Hesham's patch for RSB</div><div>and built RSB. But when I am trying to build rtems-generic target I get the mistake.</div><div>This is my sequence of steps:</div><div><br></div><div><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">git clone git://<a href="http://git.rtems.org/rtems-source-builder.git">git.rtems.org/rtems-source-builder.git</a></p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">#patch applied here</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">mkdir -p ./development/rtems/kernel</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">cd ./development/rtems/kernel</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">export RTEMS_DEV=~Projects/riscv/rtems/development</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">git clone <a href="https://github.com/heshamelmatary/rtems-riscv.git">https://github.com/heshamelmatary/rtems-riscv.git</a></p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">cd ..</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">mkdir rsb</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">mv ../../rtems-source-builder/ ./rsb/</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">cd rsb/rtems-source-builder/rtems/</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">../source-builder/sb-set-builder --prefix=$RTEMS_DEV/rtems/4.12 4.12/rtems-riscv32</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">cd ./../../../kernel/rtems-riscv/</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">./bootstrap -c && ./bootstrap -p && $RTEMS_DEV/rtems/rsb/rtems-source-builder/source-builder/sb-bootstrap</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">cd ../</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">mkdir riscv32</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">cd riscv32/</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">$RTEMS_DEV/rtems/kernel/rtems-riscv/configure --target=riscv32-rtems4.12 --disable-posix --disable-networking --disable-itron --enable-rtemsbsp=riscv_generic</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">make</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"># error here :</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Making all in riscv_generic</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">make[2]: Entering directory '~/Projects/riscv/rtems/development/rtems/kernel/riscv32/riscv32-rtems4.12/c/riscv_generic'</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">make[2]: *** No rule to make target 'all'.  Stop.</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">make[2]: Leaving directory '~/Projects/riscv/rtems/development/rtems/kernel/riscv32/riscv32-rtems4.12/c/riscv_generic'</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Makefile:348: recipe for target 'all-recursive' failed</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">make[1]: *** [all-recursive] Error 1</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">make[1]: Leaving directory '~/Projects/riscv/rtems/development/rtems/kernel/riscv32/riscv32-rtems4.12/c'</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Makefile:473: recipe for target 'all-recursive' failed</p><p style="margin:0px;color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">make: *** [all-recursive] Error 1</p><div style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"><p style="margin:0px"><br></p></div><div style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"></div></div><div><div>Am I doing something wrong? What is the possible cause of the error?</div><div><br></div>-- <br><div class="gmail_signature">Regards, Denis Obrezkov</div>
</div></div>