Failing out-of-tree build since r26139

Denys Vlasenko vda.linux at googlemail.com
Sun Apr 19 14:11:05 UTC 2009


On Sunday 19 April 2009 15:33, Bjørn Forsman wrote:
> > /media/raid/bjornfor/documents/dev/os/linux/minibuildroot/src/busybox/applets/usage.c:32:
> > > warning: ignoring return value of ‘write’, declared with attribute
> > > warn_unused_result
> > >   GEN     include/usage_compressed.h
> > > /bin/sh: applets/usage_compressed: No such file or directory
> > > make[2]: *** [include/usage_compressed.h] Error 127
> > > make[1]: *** [applets] Error 2
> > > make: *** [install] Error 2
> > >
> > > I am no build system expert so I was hoping someone else could look into
> > > this :-)
> >
> > Does it work if you replace applets/Kbuild with attached file?
> 
> 
> No, it still fails with the same error.

Hmm

# This trick decreases amount of rebuilds
# if tree is merely renamed/copied
ifeq ($(src),$(obj))

Can you replace this last line with

ifeq ($(srctree),$(objtree))

and try again?
--
vda



srctree_slash =
else
srctree_slash = $(srctree)/
endif


More information about the busybox mailing list