Re: [OpenWrt-Devel] Heightened sensitivity; a solution

2016-03-13 Thread Alexander Couzens
The freifunker has a similiar project https://github.com/freifunk-berlin/firmware Best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgpbbRSDvVxUx.pgp Description: OpenPGP digital signatu

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-13 Thread Bastian Bittorf
* Karl Palsson [13.03.2016 10:00]: > > array_set "test" 7 > > array_get 7 > > > > or for 2-dimensional arrays: > > array_set "2dim" 3 14 > > array_get 3 14 > > You know, this is _exactly_ why people want to use python or even > perl instead of bash/awk/sed. > > This is a great, wonderful soluti

[OpenWrt-Devel] netfilter.mk: how do I identify which kernel is being built?

2016-03-13 Thread Mauro Mozzarelli
I would like to modify dynamically the modules being built depending on the kernel version. I thought I could build KCONFIG using ifeq. But I cannot find anything that I can use to determine which kernel is being built. So far I tried: ifeq ($(call kernel_patchver_gt,4.0.0),1) # does not wor

[OpenWrt-Devel] [PATCH v3] ramips: Add support for Xiaomi MiWiFi Nano

2016-03-13 Thread Noble Pepper
Xiaomi MiWiFi Nano is based on Mediatek MT7628 with 64MB ram 16MB flash Signed-off-by: Noble Pepper v3 includes changes suggested by L. D. Pinney & Karl Palsson- Eliminate en25q64 (4MB) flash chip Alphabetization Remove hyphen in model Rename profile from miwifinano.mk to xiaomi.mk Add gpios th

Re: [OpenWrt-Devel] Question regarding call python script

2016-03-13 Thread Jason Wu
On 13/03/2016 8:41 PM, Bastian Bittorf wrote: Using n-dimensional arrays in build scripts is a rare usecase. you can easily switch to AWK if this fits more. But using Perl or Python should be avoided, because it adds more complexity to the dependencies and leads to more headache when maintainin