List of RTSC defined make macros [message #3515] |
Wed, 27 May 2009 14:26  |
Eclipse User |
|
|
|
Champs,
I would like to use the RTSC defined make macros in my custom makefiles to ensure portability. For example, I'm using $(RMDIR) to remove a folder and all its contents. Where can I look to see all the macros defined by RTSC?
In particular, I'm looking for a macro to copy a folder and all its contents. I'm currently using $(CP) -r but this assumes the copy command supports the -r option.
Does RTSC provide a shell to be used by the make commands? I thought that RTSC provided the 'A Shell' (ash) in its bin directory, but I cannot find it now.
Thanks
~ Ramsey
|
|
|
Re: List of RTSC defined make macros [message #3549 is a reply to message #3515] |
Wed, 27 May 2009 15:48  |
Eclipse User |
|
|
|
Ramsey Harris wrote:
> Champs,
>
> I would like to use the RTSC defined make macros in my custom makefiles
> to ensure portability. For example, I'm using $(RMDIR) to remove a
> folder and all its contents. Where can I look to see all the macros
> defined by RTSC?
>
> In particular, I'm looking for a macro to copy a folder and all its
> contents. I'm currently using $(CP) -r but this assumes the copy command
> supports the -r option.
>
The list of commands is defined in xdc/bld/xdc.mak file.
> Does RTSC provide a shell to be used by the make commands? I thought
> that RTSC provided the 'A Shell' (ash) in its bin directory, but I
> cannot find it now.
Only the Windows distribution contains a shell for GNU make (because
there is not a standard "unixy" shell for windows). The name of the
shell is sh.exe in $XDCROOT/bin and it is, in fact, ash (from cygwin).
>
> Thanks
> ~ Ramsey
|
|
|
Powered by
FUDForum. Page generated in 0.02708 seconds