[yocto] ntpclient compile fail

Ni Qingliang niqingliang at insigma.com.cn
Tue Sep 27 19:33:22 PDT 2011


thanks.

If we want to use the original Makefile, we must get rid of the "-e" and
"-Wl,as-needed" in original arguments, for latter, we can add
"-Wl,--no-as-needed", but what about the "-e"?

On Wed, 2011-09-28 at 10:12 +0800, McClintock Matthew-B29882 wrote:
> On Tue, Sep 27, 2011 at 9:04 PM, Ni Qingliang
> <niqingliang at insigma.com.cn> wrote:
> > 1. sorry, I will.
> > 2. Yes, I made a new Makefile (based on the original) as the patch of
> > ntpclient (which will override the original Makefile).
> 
> There are lots of ways to do this and avoid making a patch. You can
> use EXTRA_OECONF, EXTRA_OEMAKE, EXTRA_CFLAGS, etc in the recipe itself
> to fix up the build process. You can even go and modify the variables
> in the do_configure, do_compile, etc build steps as well.
> 
> -M

-- 
Yi Qingliang
niqingliang at insigma.com.cn
http://niqingliang2003.wordpress.com





More information about the yocto mailing list