new bsp and No rule to make target

Bassem Fahmy t_fahmy_bassem at hotmail.com
Tue Jul 22 11:31:41 UTC 2008


Hi,
Thanks for your answer. but i still don't understand what can cuase the difference between the sam7 and edb7312 bsp if it is an exact copy of it?



Date: Tue, 22 Jul 2008 12:24:29 +0800From: rayx.cn at gmail.comTo: t_fahmy_bassem at hotmail.comSubject: Re: new bsp and No rule to make targetCC: rtems-users at rtems.com

2008/7/22 Bassem Fahmy <t_fahmy_bassem at hotmail.com>:
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.cmv -f .deps/console_rel-uart.Tpo .deps/console_rel-uart.Pogmake[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.
console would depend on :console_rel_SOURCES = console/uart.c ../../shared/console.c console.c is a common file, but you are looking for ../../../../../../../../rtems-4.8.0/c/src/lib/libbsp/arm/sam7/console/console.c. Seems sth is wrong hereBTW, You can also refer to csb337 which is also a BSP for atmel's CPU, maybe there is something to share like the register defination or USART driver. Besides, SAM is a big family of MCU. If you want to submit this BSP, I would suggest you put the common file in some where like libcpu/arm/sam. This will make the code easy to share among different SAM. 
gmake[6]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c/sam7/lib/libbsp/arm/sam7'gmake[5]: *** [all-recursive] Error 1gmake[5]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c/sam7/lib/libbsp/arm'gmake[4]: *** [all-recursive] Error 1gmake[4]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c/sam7/lib/libbsp'gmake[3]: *** [all-recursive] Error 1gmake[3]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c/sam7/lib'gmake[2]: *** [all-recursive] Error 1gmake[2]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c/sam7'gmake[1]: *** [all-recursive] Error 1gmake[1]: Leaving directory `/home/npminc/bassem/rtems/build-rtems/arm-rtems/c'make: *** [all-recursive] Error 1Thanks,Bassem_________________________________________________________________Stay in touch when you're away with Windows Live Messenger.http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messenger2_072008_______________________________________________rtems-users mailing listrtems-users at rtems.comhttp://rtems.rtems.org/mailman/listinfo/rtems-users-- Thanks & Best Regards!Ray, Xu 
_________________________________________________________________
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messenger2_072008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20080722/243398da/attachment.html>


More information about the users mailing list