new bsp and No rule to make target

Bassem Fahmy t_fahmy_bassem at
Mon Jul 21 23:58:51 UTC 2008

Hi All,
i'm trying to build a new BSP for atmel SAM7 controllers (Olimex boards). in my first step i used the edb7312 bsp as a starting point. i make another copy of it renamed it to sam7 and make a copy of edb7312.cfg to sam7.cfg and issued bootstrap command both from the libbsp/arm and from main root folder yet i always get an error in building. however if i build for the edb7312 itself i don't get the error.
any body know what is going on?can any body help me regarding this?

arm-rtems-gcc --pipe -B../../../../../.././lib/ -B../../../../../.././sam7/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H   -isystem ../../../../../.././sam7/lib/include  -Wall -ansi -fasm -mcpu=arm7tdmi -msoft-float -mstructure-size-boundary=8 -O2 -g -MT console_rel-uart.o -MD -MP -MF .deps/console_rel-uart.Tpo -c -o console_rel-uart.o `test -f 'console/uart.c' || echo '../../../../../../../../rtems-4.8.0/c/src/lib/libbsp/arm/sam7/'`console/uart.c
mv -f .deps/console_rel-uart.Tpo .deps/console_rel-uart.Po
gmake[6]: *** No rule to make target `../../../../../../../../rtems-4.8.0/c/src/lib/libbsp/arm/sam7/console/console.c', needed by `console_rel-console.o'.  Stop.
gmake[6]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c/sam7/lib/libbsp/arm/sam7'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c/sam7/lib/libbsp/arm'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c/sam7/lib/libbsp'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c/sam7/lib'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c/sam7'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c'
make: *** [all-recursive] Error 1

Stay in touch when you're away with Windows Live Messenger.

More information about the users mailing list