Re: [OpenWrt-Devel] cmake.mk: ignores package CFLAGS

2015-02-01 Thread Rafał Miłecki
On 9 January 2015 at 10:51, Rafał Miłecki wrote: > If you look at include/cmake.mk you will notice followiing: > -DCMAKE_BUILD_TYPE=Release > It means that CMake uses CMAKE_C_FLAGS_RELEASE > > > I've created package and tested it using two variants: > > 1) TARGET_CFLAGS=-DFOO > This is what I got:

Re: [OpenWrt-Devel] cmake.mk: ignores package CFLAGS

2015-02-01 Thread Yousong Zhou
Hi, Rafał Miłecki On 1 February 2015 at 18:59, Rafał Miłecki wrote: > On 9 January 2015 at 10:51, Rafał Miłecki wrote: >> If you look at include/cmake.mk you will notice followiing: >> -DCMAKE_BUILD_TYPE=Release >> It means that CMake uses CMAKE_C_FLAGS_RELEASE >> I am a newcomer at cmake, bu

Re: [OpenWrt-Devel] hardened openwrt & luci

2015-02-01 Thread Etienne Champetier
Hi jow, 2015-01-31 13:59 GMT+01:00 Jo-Philipp Wich : > Hi. > > > I've tested yesterday Openwrt CC (r44203) with all hardening options on > > PKG_CC_STACKPROTECTOR_STRONG > > KERNEL_CC_STACKPROTECTOR_STRONG > > PKG_FORTIFY_SOURCE_2 > > PKG_RELRO_FULL > > > > i've only done basic testing but it see

[OpenWrt-Devel] [PATCH] ar71xx:Add QCA953X version2 SoC support

2015-02-01 Thread Chuanhong Guo
From: 郭传鈜 This patch adds support for QCA953Xv2 SoC. I got this patch from QSDK here: https://www.codeaurora.org/cgit/quic/qsdk/oss/system/openwrt/tree/target/linux/ar71xx/patches-3.3/627-QCA-MIPS-ath79-add-QCA9531-version2-support.patch?h=release/banana_10.4_c1 This patch is tested on QCA9533-B

[OpenWrt-Devel] [PATCH] linux: fix kmod-usb-net-* for >= 3.17

2015-02-01 Thread Bjørn Mork
Kernel commit 1bb5a356c3ea ("net: reduce USB network driver config options.") hid the USB network drivers behind the new config symbol CONFIG_USB_NET_DRIVERS. Signed-off-by: Bjørn Mork --- package/kernel/linux/modules/usb.mk |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [OpenWrt-Devel] hardened openwrt

2015-02-01 Thread Etienne Champetier
hi cmsv, 2015-02-01 13:40 GMT+01:00 cmsv : > Hello > I was wondering if you would be able to tell me how many bytes do the > final binaries get to be with hardened options versus without it. > Do they enlarge much more ? > > On 02/01/2015 07:34 AM, Etienne Champetier wrote: > >> PKG_CC_STACKPROTE

Re: [OpenWrt-Devel] hardened openwrt & luci

2015-02-01 Thread Dirk Neukirchen
On 30.01.2015 18:02, Etienne Champetier wrote: > Hi > i've only done basic testing but it seems to work, > except luci which send me bad gatway. > > Thanks in advance > Etienne > > I played around, but get a build error (build on Arch Linux) /home/tenchi/programming/upstream/openwrt/build_dir/

Re: [OpenWrt-Devel] hardened openwrt & luci

2015-02-01 Thread Etienne Champetier
hi Dirk, please try 'make clean' or 'make dirclean' I'm pretty sure you need to rebuild almost everything when enabling hardening option 2015-02-01 22:37 GMT+01:00 Dirk Neukirchen : > On 30.01.2015 18:02, Etienne Champetier wrote: > > Hi > > i've only done basic testing but it seems to work, > >

[OpenWrt-Devel] [PATCH] ramips: add support for Xiaomi MiWiFi Mini devices

2015-02-01 Thread roger . pueyo
From: Roger Pueyo Centelles This patch adds support for Xiaomi MiWiFi Mini, a 802.11a/b/g/n/ac dual radio wireless router based on the MediaTek MT7620a SoC. Signed-off-by: Roger Pueyo Centelles --- target/linux/ramips/base-files/etc/board.d/01_leds | 3 + .../linux/ramips/base-files/etc/boar

Re: [OpenWrt-Devel] hardened openwrt & luci

2015-02-01 Thread Dirk Neukirchen
On 01.02.2015 23:01, Etienne Champetier wrote: > hi Dirk, > please try 'make clean' or 'make dirclean' > I'm pretty sure you need to rebuild almost everything when enabling > hardening option > > 2015-02-01 22:37 GMT+01:00 Dirk Neukirchen : > The buildtree is really clean :) git clean -x -f -d

[OpenWrt-Devel] [PATCH/RFC 1/2] hostapd: update to 2015-02-01 snapshot

2015-02-01 Thread Daniel Golle
adds mesh and sae support to *-full variants for now. madwifi was dropped upstream, can't find it anywhere in OpenWrt either, thus finally burrying madwifi. wasn't sure whether 350-nl80211_del_beacon_bss.patch is still needed, all other patches were forward-ported to hostapd current git HEAD. ---

[OpenWrt-Devel] [PATCH/RFC 2/2] mac80211: allow encrypted mesh with wpa_supplicant

2015-02-01 Thread Daniel Golle
authsae is still prefered if installed. --- .../mac80211/files/lib/netifd/wireless/mac80211.sh | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wirel

[OpenWrt-Devel] [PATCH] package nginx add support for ngx_http_substitutions_filter_module

2015-02-01 Thread cruze guo
From: cruze guo This patch add support for nginx substitutions. nginx_substitutions_filter is a filter module which can do both regular expression and fixed string substitutions on response bodies. https://github.com/yaoweibin/ngx_http_substitutions_filter_module Signed-off-by: cruze guo ---

[OpenWrt-Devel] [PATCH] package nginx add support for ngx_http_substitutions_filter_module

2015-02-01 Thread cruze guo
From: cruze guo This patch add support for nginx substitutions. nginx_substitutions_filter is a filter module which can do both regular expression and fixed string substitutions on response bodies. https://github.com/yaoweibin/ngx_http_substitutions_filter_module Signed-off-by: cruze guo ---