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

Andre Heider a.heider at gmail.com
Tue Jan 26 01:16:29 EST 2021


On 25/01/2021 21:13, Hauke Mehrtens wrote:
> 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.

symlink seems to work just fine, but sure, I'll add a `cp` build step 
instead.



More information about the openwrt-devel mailing list