Issue created by Joel Sherrill: 
https://gitlab.rtems.org/rtems/docs/rtems-docs/-/work_items/166



## Summary
RTEMS can be built out of tree but there does not appear to be an example of 
doing this in the Users Guide. The following set of commands builds RTEMS out 
of tree. 

```
rm -rf /tmp/bsp
mkdir  /tmp/bsp
../rtems/waf configure --prefix=/tmp/bsp-install \
                --rtems-config=config-default.ini \
                --top=$HOME/rtems-work/rtems \
                --out=/tmp/bsp && \
../rtems/waf --top=$HOME/rtems-work/rtems >/dev/null && \
../rtems/waf --top=$HOME/rtems-work/rtems install >/dev/null
echo $?
```

This command sequence assumes the ini file is at the top of the RTEMS source. 
This should not be assumed. This script needs to be further tested and tweaked 
to be an example where nothing user related is in the RTEMS source tree.


<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/docs/rtems-docs/-/work_items/166
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/19/sent_notifications/5-4ox59rv9varrcrqlswg4sqozx-j/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to