On Mon, May 6, 2013 at 4:32 AM, Jo-Philipp Wich <[email protected]> wrote:

> On 05.05.2013 18:46, [email protected] wrote:
> > How do I compile a target object when there is a toolchain object of the
> > same name?
> >
> > For example sed. I want it to make the target version, not the host
> > toolchain one.
> >
>
> make package/sed/{clean,compile} V=s
>

That works but I find things to be quite confusing when there are multiple
versions of the same package.

I was working off from this. Should the mc example be changed to make
package/mc/{clean,compile}?

http://wiki.openwrt.org/doc/howto/build
Building single Packages

When developing or packaging software for OpenWrt, it is convenient to be
able to build only the package in question (e.g. with package cups):

make package/cups/compile V=s

For the package mc (midnight commander), which is contained the feed *
packages* it looks like this:

make package/feeds/packages/mc/compile V=s

*Note that the path start in package directory and package/feeds may not
have exactly the same structure as feeds. For example package in
~/openwrt/trunk/feeds/packages/net/snort will be compiled using make
~/openwrt/trunk/package/feeds/packages/snort/compile V=s*




>
> ~ Jow
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>



-- 
Jon Smirl
[email protected]
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to