source: examples-v2/README.Makefile @ ced6542

Last change on this file since ced6542 was ced6542, checked in by Joel Sherrill <joel@…>, on Oct 26, 2018 at 9:26:29 PM

README.Makefile: New file

  • Property mode set to 100644
File size: 1.2 KB
Line 
1The Makefile system used in these examples is dependent on the
2environment variable RTEMS_MAKEFILE_PATH being set. This can be
3set on each command line that invokes "make" or it can be exported
4into your environment.
5
6RTEMS_MAKEFILE_PATH points to the installed BSP image you are compiling
7for. It is composed as follows:
8
9  @prefix@/@target@/BSP
10
11where:
12
13  - prefix is the BSP install point or prefix
14  - target is the tool target (e.g. sparc-rtems5)
15  - BSP is the BSP you are building for (e.g. erc32)
16
17A coupte of examples:
18
19export RTEMS_MAKEFILE_PATH=${HOME}/rtems-work/tools/5/sparc-rtems5/erc32
20make clean
21make
22
23OR:
24
25RTEMS_MAKEFILE_PATH=${HOME}/rtems-work/tools/5/sparc-rtems5/erc32 make clean
26RTEMS_MAKEFILE_PATH=${HOME}/rtems-work/tools/5/sparc-rtems5/erc32 make
27
28You can switch a build from one BSP to another by changing the value
29of RTEMS_MAKEFILE_PATH but be careful to "make clean" on the old BSP
30before building the new one.
31
32Deprecration Warning: This style of Makefile has been included in RTEMS
33since the earliest days. However, it is being replaced by the use of waf
34and something akin to pkgconfig to obtain compilation settings. The intent
35is to make it easier for users to configure their preferred build system
36for an RTEMS application.
Note: See TracBrowser for help on using the repository browser.