Re: [LTP] Installing outside LTP source

Mike Frysinger
2009-05-30T22:18:06Z

[-- Attachment #1.1: Type: text/plain, Size: 1741 bytes --]

On Saturday 30 May 2009 10:28:48 Michal Simek wrote:
> Mike Frysinger wrote:
> > On Thursday 28 May 2009 05:24:23 Michal Simek wrote:
> >> I would to ask you if someone works or worked on moving LTP to Kbuild.
> >
> > the Subject line doesnt really seem to line up with this question. what
> > exactly do you want to do and why do you think Kbuild is the solution ?
> > saying "let's switch to Kbuild!" without any rhyme or reason sounds like
> > a lot of work for no gain.
>
> I wanted to wrote two emails instead of one - that's why was there 2
> different things.
> 1. disable compilation "verbose" mode and turn on it with V=1.

meh. `make -s` seems to work fine enough for me. most people arent reviewing
the output for warnings and similar issues, so i dont really see much point of
having quiet output in LTP.

> 2. Move all binaries outside of LTP source code O=/path

you mean out-of-tree compilation. you can use lndir to get the same
functionality, but it isnt really an optimal method.

> 3. I use only some parts of LTP for my testing and it will be good to
> enable/disable just tests which you want to use.

you can run `make` in only the dirs you care about. how deep do you actually
want to get ? having Kconfig entries for every single test (i.e.
kernel/syscalls/{getsid,pipe}0{1,2} .....) is crazy.

> 4. If is possible clean all Makefiles

dont really know what that means

> I don't have much experience with Kbuild I had just quick look. I looked at
> uClinux distribution

the uClinux distro is really an example you should look at. the kconfig comes
from the kernel, but all of the Makefiles are custom done. the features it
has arent terribly relevant.
-mike

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 444 bytes --]

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]