Modify ↓
#376 closed enhancement (fixed)
${platform} variable
Reported by: | anonymous | Owned by: | dfraser |
---|---|---|---|
Priority: | major | Milestone: | 0.6 |
Component: | General | Version: | dev |
Keywords: | Cc: | ||
Operating System: | Linux |
Description
I would be useful to replace/insert the current target/platform Name in a recipe:
<c:make target="all" file="${target}/Makefile"/>
Phil
Attachments (1)
Change History (6)
comment:1 Changed 16 years ago by dfraser
- Owner changed from cmlenz to dfraser
- Status changed from new to assigned
- Summary changed from ${target} variable to ${platform} variable
comment:2 Changed 16 years ago by dfraser
If that works for you I can commit it. We should probably also move some of the linked documentation above from the wiki into the svn docs
comment:3 follow-up: ↓ 4 Changed 16 years ago by anonymous
I tested your patch. It's working as expected. Thank's for this enhancement.
comment:4 in reply to: ↑ 3 Changed 16 years ago by dfraser
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
Good idea. Note that property interpolation is already done for path, config, build, revision in BuildMaster._process_build_initiation and can be extended via config files.
Can you test the patch I attach and see if it lets you use ${platform} to get the target platform name? ( I changed it to platform since this is the variable used consistently through the code for the target platform)