On Wed, Sep 08, 2021 at 03:59:55PM +0200, Christian Melki wrote:
> Let xorg-driver-input install libraries in CROSS_LIB_DIR.

Please use the package name not the file name in the subject for patches
like this. This applies to all other patches as well.

> ---
>  rules/xorg-driver-input-evdev.make | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/rules/xorg-driver-input-evdev.make 
> b/rules/xorg-driver-input-evdev.make
> index 8937a5ae5..2049ea100 100644
> --- a/rules/xorg-driver-input-evdev.make
> +++ b/rules/xorg-driver-input-evdev.make
> @@ -50,7 +50,7 @@ $(STATEDIR)/xorg-driver-input-evdev.targetinstall:
>       @$(call install_fixup, xorg-driver-input-evdev,DESCRIPTION,missing)
>  
>       @$(call install_copy, xorg-driver-input-evdev, 0, 0, 0755, -, \
> -             /usr/lib/xorg/modules/input/evdev_drv.so)
> +             /usr/$(CROSS_LIB_DIR)/xorg/modules/input/evdev_drv.so)

Convert this to used install_lib instead. That way, the libdir is used
correctly automatically. And I'm pretty sure that the file does not need to
be executable. So:

        @$(call install_lib, xorg-driver-input-evdev, 0, 0, 0644, \
                xorg/modules/input/evdev_drv)

The same applies to all the other xorg-driver-* patches as well.

Michael

>  
>       @$(call install_finish, xorg-driver-input-evdev)
>  
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> ptxdist mailing list
> [email protected]
> To unsubscribe, send a mail with subject "unsubscribe" to 
> [email protected]
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to