[PATCH 03/12] ltq-adsl-app: add ubus support to get metrics

Hauke Mehrtens hauke at hauke-m.de
Mon Jan 25 15:13:47 EST 2021


On 12/15/20 10:35 AM, Andre Heider wrote:
> As with ltq-vdsl-app, see previous commit.
> 
> Signed-off-by: Andre Heider <a.heider at gmail.com>
> ---
>   package/network/config/ltq-adsl-app/Makefile  |  2 +-
>   .../ltq-adsl-app/patches/300-ubus.patch       | 50 +++++++++++++++++++
>   package/network/config/ltq-adsl-app/src       |  1 +
>   3 files changed, 52 insertions(+), 1 deletion(-)
>   create mode 100644 package/network/config/ltq-adsl-app/patches/300-ubus.patch
>   create mode 120000 package/network/config/ltq-adsl-app/src
> 
> diff --git a/package/network/config/ltq-adsl-app/Makefile b/package/network/config/ltq-adsl-app/Makefile
> index cfd66d0ee4..e03c0911a5 100644
> --- a/package/network/config/ltq-adsl-app/Makefile
> +++ b/package/network/config/ltq-adsl-app/Makefile
> @@ -35,7 +35,7 @@ define Package/ltq-adsl-app
>     CATEGORY:=Network
>     TITLE:=Lantiq DSL userland tool
>     URL:=http://www.lantiq.com/
> -  DEPENDS:=@(TARGET_lantiq_xway||TARGET_lantiq_xway_legacy||TARGET_lantiq_ase) +libpthread +ltq-dsl-base
> +  DEPENDS:=@(TARGET_lantiq_xway||TARGET_lantiq_xway_legacy||TARGET_lantiq_ase) +libpthread +ltq-dsl-base +libubox +libubus
>     MENU:=1
>   endef
>   
> diff --git a/package/network/config/ltq-adsl-app/src b/package/network/config/ltq-adsl-app/src
> new file mode 120000
> index 0000000000..d3dfcc3b34
> --- /dev/null
> +++ b/package/network/config/ltq-adsl-app/src
> @@ -0,0 +1 @@
> +../ltq-vdsl-app/src
> \ No newline at end of file
> 

Is this simlink here ok?
I would prefer if you package Makefile would copy this instead of this 
symlink.

Hauke

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210125/a07dadc2/attachment.sig>


More information about the openwrt-devel mailing list