On Thu, Sep 13, 2018 at 11:26:29AM +0200, Roland Hieber wrote: > On Thu, Sep 13, 2018 at 09:22:57AM +0200, Alexander Dahl wrote: > > Hei hei, > > > > I'm currently writing package rules for some ugly Make only based > > sources. I could sort out my questions about how to use $(SYSROOT) and > > $(FOO_PKGDIR) in compile and install stages by looking at other > > packages, but I would say that part is missing in the documentation. > > My assumption so far is: the default install stage installs to > > $(FOO_PKGDIR) and that content is magically copied to $(SYSROOT) then? > > As far as I remember, the install stage installs to FOO_PKGDIR, and the > targetinstall stage then installs from FOO_PKGDIR to SYSROOT. > I guess there is the need to document the interface between the single > stages somehow, what each stage expects and what it is supposed to do.
It's install.post not targetinstall that copies the files to the correct sysroot. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list [email protected]
