[LTP] [LTP v4 3/5] IMA: Refactor datafiles directory
Petr Vorel
pvorel@suse.cz
Mon Aug 31 09:39:27 CEST 2020
Hi Mimi,
> On Fri, 2020-08-28 at 15:28 +0200, Petr Vorel wrote:
> > Hi,
> > > > +SUBDIRS := ima_*
> > I guess this could fix it:
> > SUBDIRS := $(shell ls ima_*)
> Other LTP makefiles are using "wildcard". Like this - $(wildcard
> ima_*/)?
Thanks for a tip. But it looks like wildchard doesn't work on out-of-tree
either:
/usr/src/ltp/include/mk/generic_trunk_target.inc:97: *** SUBDIRS empty -- did you want generic_leaf_target instead?. Stop.
It's visible only on powerpc64le-linux-gnu-gcc build, because that is the only
one from out-of-tree builds which also does make install.
(We removed make install from most of the builds in order 1) avoid sporadic
build failures due lack of space on Travis docker 2) safe time.)
Thus I fixed it in 4231003f3 with just simple listing the targets:
-SUBDIRS := ima_*
+SUBDIRS := ima_kexec ima_keys ima_policy
Kind regards,
Petr
More information about the ltp
mailing list