On 6 March 2016 at 02:14, Mauro Mozzarelli <[email protected]> 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 https://github.com/yousong/build-scripts/blob/master/build-ipvsadm.sh#L37-L38 yousong > > Best regards, > Mauro > _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
