From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve East Date: Tue, 28 Mar 2017 18:03:06 +0000 Subject: [LTP] Out-of-tree build missing some data files. In-Reply-To: <20170328133708.GF1045@rei> References: <20170328133708.GF1045@rei> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it > -----Original Message----- > From: Cyril Hrubis [mailto:chrubis@suse.cz] > Sent: Tuesday, March 28, 2017 8:37 AM > To: Steve East > 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.