[OE-core] [PATCH 1/4] xf86-driver-common.inc: remove .la files to avoid unpackaged warning

Saul Wold sgw at linux.intel.com
Fri Jun 3 00:52:24 UTC 2011


On 06/02/2011 12:25 PM, Otavio Salvador wrote:
> Signed-off-by: Otavio Salvador<otavio at ossystems.com.br>
> ---
>   .../xorg-driver/xf86-driver-common.inc             |    6 +++++-
>   1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-graphics/xorg-driver/xf86-driver-common.inc b/meta/recipes-graphics/xorg-driver/xf86-driver-common.inc
> index 550423b..6ff1391 100644
> --- a/meta/recipes-graphics/xorg-driver/xf86-driver-common.inc
> +++ b/meta/recipes-graphics/xorg-driver/xf86-driver-common.inc
> @@ -5,7 +5,7 @@ SECTION = "x11/drivers"
>   LICENSE = "MIT-X"
>
>   PE = "1"
> -PR = "r0"
> +PR = "r1"
>
>   DEPENDS = "virtual/xserver-xf86 xproto randrproto util-macros"
>
> @@ -27,3 +27,7 @@ do_configure_prepend () {
>       mv configure.ac.new configure.ac
>   }
>
> +do_install_append () {
> +    # driver's la files are not packaged
> +    rm -f ${D}${libdir}/xorg/modules/drivers/*.la
> +}
Would it not be better to package them in the -dev package instead of 
throwing them away?

Sau!




More information about the Openembedded-core mailing list