How to build Unix BSP ?

Ralf Corsepius corsepiu at faw.uni-ulm.de
Thu Jul 31 10:17:14 UTC 2003


On Thu, 2003-07-31 at 11:46, Cedric Aubert wrote:

> I export RTEMS_MAKEFILE_PATH and type make in the
> hello_world directory.
> 
> And a error occur.
> 
> In fact, in posix.cfg, they are :
> 
> include
> $(RTEMS_ROOT)/make/custom/$(RTEMS_HOST)-posix.cfg
> 
> and he doesn't found RTEMS_HOST so he try to include
> /make/custom/-posix.cfg
> and of course it doesn't exist.
> 
> I have made (for test only) a link -posix.cfg to
> Linux-posix.cfg (I run on a
> RedHat 7.2)
> And that work fine after, and the hello_world
> executable work to.
> 
> Do you knwon where my problem should be ?
Yes, the origin of this problem is a person's stubbornness at OAR, who
refuses to cut off that ole' whig ;-) [1]

In other words, apparently Joel's application makefiles doen't work for
unix/posix. I personally refuse to look into them, but you have a chance
to get them working by manually exporting RTEMS_HOST.

i.e. in your case,
RTEMS_HOST=Linux
export RTEMS_HOST
has a chance to work (But I would not bet :-) )

Ralf


[1] I for one consider RTEMS application makefile templates to be an
unmaintainable misconception.





More information about the users mailing list