[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [sprint] openembedded / dpkg-cross-buildpackage hybrid



> ok - enough!  thoughts anyone?
>
> l.
>

$ dpkg-buildpackage --help

Usage: dpkg-buildpackage [<options> ...]

Options:
  -r<gain-root-command>
                 command to gain root privileges (default is fakeroot).
 ....
 ....
  -T<target>     call debian/rules <target> with the proper environment


rrright - am i correct in thinking that if you do "dpkg-buildpackage
-rfakeroot -Tfoo" it does _nothing_ but run that particular task in
the debian/rules makefile?  assuming that the task's dependencies (in
the debian/rules aka makefile) have all been satisfied up to that
point, that is.

if so, it would almost be a trivial job to back-end the bitbake
"tasks" concept into the dpkg-buildpackage "target" conecept,
one-for-one compile, configure, install, package, sign.  in between
you'd perform special cross-compile "tweaks" which are well-known
already in the openembedded environment and are prooobably similar to
what dpkg-cross does.... *scratches head*...

is this easy to undeststand?  i'm a little confused at the lack of
response and discussion: if i haven't made this clear enough i
apologise - please do tell me what i need to say so that this can be
discussed.

tia,

l.


Reply to: