[Buildroot] [PATCH] Purge libglib2 dev files from target

Lionel Landwerlin llandwerlin at gmail.com
Sat Jul 24 01:46:44 UTC 2010


Le jeudi 22 juillet 2010 à 11:03 +0200, Malte Starostik a écrit :
> * Don't install libglib2 development binaries and to target unless
>   BR2_HAVE_DEVFILES is set
> * Don't install gdb plugins unless BR2_TARGET_GDB is set
> * Remove $(TARGET_DIR)/usr/share/aclocal from target-finalize when not
>   installing devfiles
> * Same for /usr/share/gdb in the absence of BR2_TARGET_GDB
> * Remove some redundant cleanup from individual packages
> 
> Signed-off-by: Malte Starostik <m-starostik at versanet.de>

Maybe you can split your patch in two. One part which would be related
to strip the debug files, the second would be related to strip dev files
(aclocal directories).

> +
> +define LIBGLIB2_REMOVE_GDB_FILES
> +	rm -rf $(TARGET_DIR)/usr/share/glib-2.0/gdb
> +	rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share/glib-2.0
> +endef
> +

Why using rmdir ? rm -rf isn't good enough ?

Otherwise looks good ! :)

Acked-by: Lionel Landwerlin <llandwerlin at gmail.com>

Regards,

-- 
Lionel Landwerlin




More information about the buildroot mailing list