[Buildroot] svn commit: trunk/buildroot/package/gettext

Hamish Moffatt hamish at cloud.net.au
Wed Jul 23 13:42:17 UTC 2008


On Wed, Jul 23, 2008 at 03:35:50AM -0700, jacmet at uclibc.org wrote:
> Author: jacmet
> Date: 2008-07-23 03:35:50 -0700 (Wed, 23 Jul 2008)
> New Revision: 22929
> 
> Log:
> gettext: also remove from staging on -clean
> 
> Modified:
>    trunk/buildroot/package/gettext/gettext.mk
> 
> 
> Changeset:
> Modified: trunk/buildroot/package/gettext/gettext.mk
> ===================================================================
> --- trunk/buildroot/package/gettext/gettext.mk	2008-07-23 08:41:08 UTC (rev 22928)
> +++ trunk/buildroot/package/gettext/gettext.mk	2008-07-23 10:35:50 UTC (rev 22929)
> @@ -125,6 +125,7 @@
>  gettext-unpacked: $(GETTEXT_DIR)/.unpacked
>  
>  gettext-clean:
> +	-$(MAKE) DESTDIR=$(STAGING_DIR) CC=$(TARGET_CC) -C $(GETTEXT_DIR) uninstall
>  	-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GETTEXT_DIR) uninstall
>  	-$(MAKE) -C $(GETTEXT_DIR) clean

This demonstrates another problem with sharing the build_$(ARCH) (and
particularly build_$(ARCH)/staging-dir) between projects built out of
the same tree.. running gettext-clean (probably among others) on one
project trashes the staging directory for others. Rebuilding those will
reinstall it in the staging directory I suppose.

Personally I think the shared build_$(ARCH) is just wrong with multiple
projects. I might hack my local copy to define BUILD_DIR to match
PROJECT_BUILD_DIR to fix this.

Hamish
-- 
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>



More information about the buildroot mailing list