Building RISC-V BSP
Denis Obrezkov
denisobrezkov at gmail.com
Tue May 30 11:49:32 UTC 2017
Hello,
I am trying to build RTEMS for RISC-V BSP. I applied Hesham's patch for RSB
and built RSB. But when I am trying to build rtems-generic target I get the
mistake.
This is my sequence of steps:
git clone git://git.rtems.org/rtems-source-builder.git
#patch applied here
mkdir -p ./development/rtems/kernel
cd ./development/rtems/kernel
export RTEMS_DEV=~Projects/riscv/rtems/development
git clone https://github.com/heshamelmatary/rtems-riscv.git
cd ..
mkdir rsb
mv ../../rtems-source-builder/ ./rsb/
cd rsb/rtems-source-builder/rtems/
../source-builder/sb-set-builder --prefix=$RTEMS_DEV/rtems/4.12
4.12/rtems-riscv32
cd ./../../../kernel/rtems-riscv/
./bootstrap -c && ./bootstrap -p &&
$RTEMS_DEV/rtems/rsb/rtems-source-builder/source-builder/sb-bootstrap
cd ../
mkdir riscv32
cd riscv32/
$RTEMS_DEV/rtems/kernel/rtems-riscv/configure --target=riscv32-rtems4.12
--disable-posix --disable-networking --disable-itron
--enable-rtemsbsp=riscv_generic
make
# error here :
Making all in riscv_generic
make[2]: Entering directory
'~/Projects/riscv/rtems/development/rtems/kernel/riscv32/riscv32-rtems4.12/c/riscv_generic'
make[2]: *** No rule to make target 'all'. Stop.
make[2]: Leaving directory
'~/Projects/riscv/rtems/development/rtems/kernel/riscv32/riscv32-rtems4.12/c/riscv_generic'
Makefile:348: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'~/Projects/riscv/rtems/development/rtems/kernel/riscv32/riscv32-rtems4.12/c'
Makefile:473: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Am I doing something wrong? What is the possible cause of the error?
--
Regards, Denis Obrezkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170530/420c684b/attachment.html>
More information about the devel
mailing list