aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libiconv-full: fix build with fortify sourceJo-Philipp Wich2015-06-252-2/+25
| | | | | | | | | | Avoid redefining `realpath` to fix the following error: .../include/fortify/stdlib.h:36:13: error: 'realpath' undeclared here (not in a function) Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 46127
* grub2: disable stack-protectorJo-Philipp Wich2015-06-251-0/+2
| | | | | | | | | | | | | | - enabling "-fstack-protector" results in build errors - Upstream explicitly tests & disables it v2: - use override reference: upstream commit baa2a121e004a95a12e2bb7f2419de6625a30c2d Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46126
* grub2: fix build against muslJo-Philipp Wich2015-06-251-0/+26
| | | | | | | | | Invert the `__GLIBC__` guards into `!__UCLIBC__` ones to avoid invalid references to `_llseek` on musl. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 46125
* strace: update to 4.10Jo-Philipp Wich2015-06-253-167/+55
| | | | | | | | | | | | | | | | | | - include upstream fixes for musl compatibility Include <sys/stat.h> for S_I* macros d34e00b293942b1012ddc49ed3ab379a32337611 Include <linux/ioctl.h> for _IOC_* macros 3460dc486d333231998de0f19918204aacee9ae3 strace 4.8 is broken with musl on some arch (arm: omap,oxnas according to buildbot) compile tested only Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46124
* fix mklibs with muslMatteo Croce2015-06-252-1/+12
| | | | | | | crate a relative symlink to libc.so because make wildcard function ignores broken symlinks SVN-Revision: 46123
* fortify-headers: fix compatibility with -pedanticSteven Barth2015-06-241-0/+122
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46122
* Revert "px5g-standalone: compatibility with fortify-headers"Steven Barth2015-06-241-1/+1
| | | | | | This reverts commit 0c912eec6d95805d30133f34165a1c4e7cbb4bec. SVN-Revision: 46121
* scripts/feeds: observe -p flag for preferential feedsSteven Barth2015-06-241-3/+3
| | | | | | | | | | | lookup_target was trampling the $feed variable, resulting in the -p flag no longer preferentially installing from the named feed. Make sure to use a local variable for this instead. Signed-off-by: Karl Palsson <karlp@remake.is> SVN-Revision: 46120
* hardening: make override variables more intuitiveSteven Barth2015-06-241-12/+9
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46119
* px5g-standalone: compatibility with fortify-headersSteven Barth2015-06-231-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46118
* toolchain: add fortify-headers, enable FORTIFY_SOURCE by defaultSteven Barth2015-06-235-2/+57
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46117
* uclibc: fix _HAS_SSP replacement regexJonas Gorski2015-06-231-1/+1
| | | | | | | | A dot was dropped, making it match too much. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46116
* ar71xx: add support for tp-link wr740n v5.0 (EU)Luka Perkov2015-06-231-1/+9
| | | | | | | | | | | TP-Link ships wr740n v5.0 to Romania (so probably everywhere except China) with 4 MB flash and 32 MB memory (confirmed by their local support). This patch adds support for the v5.0 clone of v4, i just tested it on my own v5.0 router and it works. Signed-off-by: Daniel Petre <daniel.petre@posteo.net> SVN-Revision: 46115
* ccache: upgrade to version 3.1.11Luka Perkov2015-06-231-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 46114
* brcm63xx: add kernel 4.1 supportJonas Gorski2015-06-22158-0/+16148
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46113
* generic: add linux 4.1 supportJonas Gorski2015-06-22187-2/+29801
| | | | | | | | | | | | | | | | | | | | Boot tested: http://pastebin.com/L6aAb9xj Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: update to 4.1 final add patches added since submission delete patches applied in later rcs restore commit messages in 220-gc-sections and 304-mips_disable_fpu fix 050-backport_netfilter_rtcache to match new API update inlined dma ops with upstream changes add missing config symbols enabled CONFIG_MULTIUSER update kmod defintions for 4.1 ] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46112
* xtables-addons: disable for kernel 4.1 for nowJonas Gorski2015-06-221-1/+1
| | | | | | | | | Netfilter APIs have changed, so the code requuires updates to compile successfully. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46111
* mac80211: disable for kernel 4.1 for nowJonas Gorski2015-06-221-1/+1
| | | | | | | | Backports requires updates to compile successfully. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46110
* netfilter.mk: fix redirect module locations for 3.19+Jonas Gorski2015-06-221-3/+3
| | | | | | | | | | | | ntf_redir_ipvX is part of NAT support, so they should be in the appropriate nft-nat kmods. Since they depend on nf_nat_redirect, nf_nat_redirect should be part of nf-nat, not ipt-nat. Fixes nft-core gaining a missing dependency on nf_nat_redirect.ko. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46109
* gcc/musl: rework SSP-supportSteven Barth2015-06-227-17/+76
| | | | | | | | | | | Make musl provide libssp_nonshared.a and make GCC link it unconditionally if musl is used. This should be a no-op if SSP is disabled and seems to be the only reliable way of dealing with SSP over all packages due to the mess that is linkerflags handling in packages. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46108
* otrx: add extra compilation check before using __BYTE_ORDERRafał Miłecki2015-06-221-0/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46106
* otrx: include endian.h to make __BYTE_ORDER work with muslRafał Miłecki2015-06-221-0/+1
| | | | | | | | | | | | Without this the condition if __BYTE_ORDER == __BIG_ENDIAN was always true. Thanks Szabolcs. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46105
* b53: Allow using all 8 ports on BCM53011Rafał Miłecki2015-06-211-1/+1
| | | | | | | | | | | On two tested devices: Netgear R6250 (BCM53011 rev 2) and Luxul XWC-1000 (BCM53011 rev 3) it was possible to use port 7 and eth1 (instead of port 5 and eth0). It seems BCM53011 just like BCM53012 has 8 ports and usually 3 of them are connected to the SoC. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46104
* ath9k: fix ar956x device detectionFelix Fietkau2015-06-215-8/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46090
* toolchain: mark gcc 4.9 as broken, it miscompiles some code especially on ARMFelix Fietkau2015-06-211-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46089
* bcm53xx: respect ACTIVE_LOW when powering USB using GPIORafał Miłecki2015-06-211-9/+28
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46088
* bcm53xx: enable USB power on Buffalo WZR-1750DHPRafał Miłecki2015-06-213-7/+39
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46087
* bcm53xx: update SPROM driver to include just-sent patchRafał Miłecki2015-06-211-44/+9
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46086
* ramips: refresh patch with USB_MT7621_XHCI_PLATFORMRafał Miłecki2015-06-211-8/+6
| | | | | | | Fixes: edea6dfde4dc ("kernel: make USB_XHCI_PLATFORM selectable") Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46085
* mac80211: backport some brcmfmac patchesRafał Miłecki2015-06-218-0/+892
| | | | | | | | | | | There are two important patches in this patchset: updating read pointer quicker & rework of .get_station(). There are few more upstream patches that are p2p-related and weren't backported in this commit. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46084
* bcm53xx: enable USB power on Netgear R6250Rafał Miłecki2015-06-211-0/+38
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46083
* bcm53xx: update xHCI patchRafał Miłecki2015-06-211-9/+22
| | | | | | | | This drops some debugging pr_info and adds platform_device_unregister. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46082
* bcm53xx: fix enabling GPIO-controlled USB powerRafał Miłecki2015-06-211-0/+31
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46081
* bcm53xx: add xHCI supportRafał Miłecki2015-06-215-1/+553
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46080
* kernel: make USB_XHCI_PLATFORM selectableRafał Miłecki2015-06-212-0/+92
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46079
* otrx: optimize memory usage by function checking TRX CRCRafał Miłecki2015-06-201-16/+18
| | | | | | | | Allocating huge buffer for the whole TRX wasn't too optimal. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46078
* otrx: make crc32 table global for further optimizationsRafał Miłecki2015-06-201-67/+68
| | | | | | | | | | So far we got only one generic function accessing this table, but implementing optimizations will require calculating crc32 in other code parts as well. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46077
* uclibc++: link against libssp_nonshared instead of libsspSteven Barth2015-06-201-5/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46076
* musl: update musl to 2015-06-20Steven Barth2015-06-201-73/+763
| | | | | | | | Fixes a mips-regression and a missing SSP function Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46075
* libpcap: fixup libtoolSteven Barth2015-06-201-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46074
* musl: apply hardening options (e.g. SSP) also to libc itselfSteven Barth2015-06-201-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46073
* package-defaults: remove libssp for musl (redundant)Steven Barth2015-06-201-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46072
* gcc: musl comes with its own SSP, so use it instead of libsspSteven Barth2015-06-202-0/+15
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46071
* buildroot: move hardening options into separate fileSteven Barth2015-06-202-46/+56
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46070
* musl: read the timezone from /etc/TZFelix Fietkau2015-06-191-0/+28
| | | | | | | | | | | | | | | | | | | | | | Currently the OpenWRT boot scripts write the timezone configuration to /tmp/TZ, relying on the behaviour of uClibc that the timezone is read from /etc/TZ if no TZ env variable is found. This works because /etc/TZ is a symlink to /tmp/TZ. Musl libc however only reads the timezone from the TZ env variable and if it doesn't find it or it's empty, it will look for a zoneinfo file, that doesn't exist. So in musl builds no timezone is ever set. This patch fixes the issue by having musl libc behave like uClibc: if no TZ env variable is found it will try to load it from /etc/TZ. Signed-off-by: Gianluca Anzolin <gianluca at sottospazio.it> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46069
* ppp: honor LDFLAGSSteven Barth2015-06-194-3/+42
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46068
* uclibc++: only disable SSP for ppcSteven Barth2015-06-191-1/+5
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46067
* uclibc++: honor ldflags, disable SSPSteven Barth2015-06-192-3/+27
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46066
* libtool: enable passthrough for SSP optionsSteven Barth2015-06-191-0/+11
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46065
* iproute2: honor LDFLAGSSteven Barth2015-06-191-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46064