Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Real-Time Software Components (RTSC) » List of RTSC defined make macros
List of RTSC defined make macros [message #3515] Wed, 27 May 2009 14:26 Go to next message
Ramsey Harris is currently offline Ramsey Harris
Messages: 22
Registered: July 2009
Junior Member
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 Go to previous message
Dave Russo is currently offline Dave Russo
Messages: 172
Registered: July 2009
Senior Member
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
Previous Topic:Using target properties in a makefile rule
Next Topic:XDC on Mac OS X
Goto Forum:
  


Current Time: Fri Aug 29 12:28:31 EDT 2014

Powered by FUDForum. Page generated in 0.01763 seconds