On Fri, Apr 10, 2020 at 12:35:15PM +0200, Marco Felsch wrote:
> Convert manual plugin search function to install_tree call to clean up
> the recipe.
> 
> Signed-off-by: Marco Felsch <m.fel...@pengutronix.de>
> ---
> Hi Michael,
> 
> this patch can be squashed with the 1st if you want.
> 
> Regards,
>   Marco
> 
>  rules/tslib.make | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/rules/tslib.make b/rules/tslib.make
> index 5ee46aa4c..e52e62520 100644
> --- a/rules/tslib.make
> +++ b/rules/tslib.make
> @@ -86,6 +86,7 @@ $(STATEDIR)/tslib.targetinstall:
>               /etc/ts.conf)
>  
>       @$(call install_lib, tslib, 0, 0, 0644, libts)
> +     @$(call install_tree, tslib, 0, 0, 0644, -, /usr/lib/ts)

        @$(call install_tree, tslib, 0, 0, 0644, /usr/lib/ts)

Michael

>  
>  ifdef PTXCONF_TSLIB_TS_CALIBRATE
>       @$(call install_copy, tslib, 0, 0, 0755, -, /usr/bin/ts_calibrate)
> @@ -94,10 +95,6 @@ ifdef PTXCONF_TSLIB_TS_TEST
>       @$(call install_copy, tslib, 0, 0, 0755, -, /usr/bin/ts_test)
>  endif
>  
> -     @cd $(TSLIB_PKGDIR) && for plugin in `find usr/lib/ts -name "*.so"`; do 
> \
> -             $(call install_copy, tslib, 0, 0, 0644, -, /$$plugin); \
> -     done
> -
>       @$(call install_finish, tslib)
>  
>       @$(call touch)
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
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
ptxdist@pengutronix.de

Reply via email to