[LTP] Out-of-tree build missing some data files.

Steve East sge@cray.com
Tue Mar 28 20:03:06 CEST 2017


> -----Original Message-----
> From: Cyril Hrubis [mailto:chrubis@suse.cz]
> Sent: Tuesday, March 28, 2017 8:37 AM
> To: Steve East <sge@cray.com>
> Cc: ltp@lists.linux.it
> Subject: Re: [LTP] Out-of-tree build missing some data files.
> 
> Hi!
> > drwxr-xr-x 2 sge sdivmisc 1024 Mar 22 12:50 ext4-ffsb/
> > drwxr-xr-x 2 sge sdivmisc   80 Mar 22 12:48 file01/
> > drwxr-xr-x 2 sge sdivmisc 1024 Mar 22 12:50 ima_policy/
> > drwxr-xr-x 2 sge sdivmisc   80 Mar 22 12:48 ldd01/
> > drwxr-xr-x 2 sge sdivmisc 1024 Mar 22 12:49 mc_member/
> > drwxr-xr-x 2 sge sdivmisc 1024 Mar 22 12:48 nm01/
> > drwxr-xr-x 2 sge sdivmisc   80 Mar 22 12:49 rpc01/
> > drwxr-xr-x 3 sge sdivmisc   80 Mar 22 12:50 stress_floppy/
> > drwxr-xr-x 2 sge sdivmisc   80 Mar 22 12:48 unzip01/
> >
> > but I don't see the datafiles for ld and ar. In the case of ld, the data files are
> *.c files which I believe are supposed to be installed uncompiled. For ar, the
> data files are *.in which also need to be installed as is.
> >
> > This works for an in-tree build. Bug?
> 
> Quite likely this is a problem with the $(wildcard *.c) and
> $(wildcard *.in) expressions since these are missing $(abs_srcdir).
> 
> Does this work if you change these to $(wildcard $(abs_srcdir)/*.in) and
> $(wildcard $(abs_srcdir)/*c) in the ld and ar datafiles/Makefile?

Unfortunately, this doesn't seem to have had any effect. Changes were...

-INSTALL_TARGETS                := $(wildcard file*)
+INSTALL_TARGETS                := $(wildcard $(abs_srcdir)/*.in)

-INSTALL_TARGETS                := $(wildcard *.c)
+INSTALL_TARGETS                := $(wildcard $(abs_srcdir)/*.c)

Steve.



Steve.




More information about the ltp mailing list