« Return to Thread: overriding inst_target in mgwport

Re: overriding inst_target in mgwport

by Charles Wilson-8 :: Rate this Message:

| View in Thread

On 2/5/2012 5:39 PM, Chris Sutcliffe wrote:
> How so I go about overriding inst_target with mgwport?  GDB has a
> 'install-gdb' target that does not install all the bfd stuff (as
> opposed to using the 'install' target that installs everything).  I
> tried setting inst_target in the mgwport file directly but it seemed
> to have no effect.

Right now, you can't -- if you want to use the mgwinstall function. I'll
need to add that capability; Patches Thoughtfully Considered.

In the meantime, you can simply copy mgwinstall() from
        /usr/lib/mgwport/src_install.mgwpart

to, e.g. my_mgwinstall() in your .mgwport file, and then implement

src_install() {
       cd ${B}
       my_mgwinstall
}

--
Chuck

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
MinGW-dvlpr mailing list
MinGW-dvlpr@...
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr

 « Return to Thread: overriding inst_target in mgwport