[OpenWrt-Devel] [PATCH 4/5] malta: convert to router type target.

2015-10-28 Thread Yousong Zhou
There is currently no relevant definition for developerboard device type
in include/target.mk, thus packages like iptables, firewall, dnsmasq
etc. are missing in the default images, rendering it almost useless
for regular testing or normal use.

Signed-off-by: Yousong Zhou 
---
 target/linux/malta/Makefile |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
index c9f1586..0cce15e 100644
--- a/target/linux/malta/Makefile
+++ b/target/linux/malta/Makefile
@@ -15,7 +15,7 @@ MAINTAINER:=Florian Fainelli 
 
 KERNEL_PATCHVER:=3.18
 
-DEVICE_TYPE:=developerboard
+DEVICE_TYPE:=router
 
 include $(INCLUDE_DIR)/target.mk
 
-- 
1.7.10.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH 4/5] malta: convert to router type target.

2015-10-28 Thread Florian Fainelli
On Oct 28, 2015 5:56 AM, "Yousong Zhou"  wrote:
>
> There is currently no relevant definition for developerboard device type
> in include/target.mk, thus packages like iptables, firewall, dnsmasq
> etc. are missing in the default images, rendering it almost useless
> for regular testing or normal use.

This is by design as well here, Malta being used mostly for kernel,
toolchain and user space development, but not being an ideal router
platform.

AFAIR, the default device type is already router, so you could just
eliminate that.

>
> Signed-off-by: Yousong Zhou 
> ---
>  target/linux/malta/Makefile |2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
> index c9f1586..0cce15e 100644
> --- a/target/linux/malta/Makefile
> +++ b/target/linux/malta/Makefile
> @@ -15,7 +15,7 @@ MAINTAINER:=Florian Fainelli 
>
>  KERNEL_PATCHVER:=3.18
>
> -DEVICE_TYPE:=developerboard
> +DEVICE_TYPE:=router
>
>  include $(INCLUDE_DIR)/target.mk
>
> --
> 1.7.10.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH 4/5] malta: convert to router type target.

2015-10-28 Thread Yousong Zhou
On 29 October 2015 at 00:20, Florian Fainelli  wrote:
> On Oct 28, 2015 5:56 AM, "Yousong Zhou"  wrote:
>>
>> There is currently no relevant definition for developerboard device type
>> in include/target.mk, thus packages like iptables, firewall, dnsmasq
>> etc. are missing in the default images, rendering it almost useless
>> for regular testing or normal use.
>
> This is by design as well here, Malta being used mostly for kernel,
> toolchain and user space development, but not being an ideal router
> platform.
>
> AFAIR, the default device type is already router, so you could just
> eliminate that.
>

Okay, will do that.

yousong

>>
>> Signed-off-by: Yousong Zhou 
>> ---
>>  target/linux/malta/Makefile |2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
>> index c9f1586..0cce15e 100644
>> --- a/target/linux/malta/Makefile
>> +++ b/target/linux/malta/Makefile
>> @@ -15,7 +15,7 @@ MAINTAINER:=Florian Fainelli 
>>
>>  KERNEL_PATCHVER:=3.18
>>
>> -DEVICE_TYPE:=developerboard
>> +DEVICE_TYPE:=router
>>
>>  include $(INCLUDE_DIR)/target.mk
>>
>> --
>> 1.7.10.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel