Hi,

On Tue, Jul 05, 2011 at 10:03:41AM +0200, Bart De Vos wrote:
> I believe the trick is to do a 'make uninstall' for qt. In my case
> the 'clean' step in rules/qt4.make looks as this:
> 
> # ----------------------------------------------------------------------------
> # Clean
> # ----------------------------------------------------------------------------
> 
> qt4_clean:
>     rm -rf $(STATEDIR)/qt4.*
>     rm -rf $(PKGDIR)/qt4_*
>     @cd $(QT4_DIR) && $(QT4_PATH) $(MAKE) uninstall
>     rm -rf $(QT4_DIR)
> 
> If you do a 'ptxdist clean qt4' the sysroot is also cleaned allowing
> you to use a proper build.
> 
> I also believe that running the 'uninstall' step is a good thing to
> do in other packages as well.

That should not be necessary. During install, we first install into
platform-<something>/packages/<pkg>/ and then copy everything into sysroot.
The default clean stage then removes the files from sysroot and everything
else.
This is much more reliable than a uninstall make target that may or may not
exist.

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]

Reply via email to