[OpenWrt-Devel] MAKE_ARGS?

Yousong Zhou yszhou4tech at gmail.com
Sat Mar 5 20:25:28 EST 2016

On 6 March 2016 at 02:14, Mauro Mozzarelli <mauro at ezplanet.net> wrote:
> Hi Yousong,
> I think I found where the problem is with environment variables for Makefile.
> If add MYVAR=something in MAKE_FLAGS this is passed as argument to "make", but it
> isn't set as an environment variable. So when make invokes another Makefile in a
> sub directory (like "libipvs") the variable isn't passed along, hence the issue
> with ipvsadm. In our case the only thing that works is to set the parameter with
> -D in CFLAGS

The root cause is that Makefile of ipvsadm uses "make' instead of
"$(MAKE)" to invoke sub-make.  See


> Best regards,
> Mauro
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list