aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* include/cmake.mk: adjust for STAGING_DIR_HOST splitFelix Fietkau2016-01-251-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add iremap cflagsFelix Fietkau2016-01-251-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: use -iremap feature to replace __FILE__ absolute path names in ↵Felix Fietkau2016-01-252-0/+9
| | | | | | | | | | packages with ones relative to $(BUILD_DIR) improves reproducible builds Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add support for VHT rates to Lua bindingJo-Philipp Wich2016-01-251-1/+1
| | | | | | | | Update to Git HEAD in order to include VHT rate support in the Lua binding. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add support for VHT ratesJo-Philipp Wich2016-01-251-3/+3
| | | | | | | | | Update to upstream Git HEAD to include VHT rate support and a number of coverity scan fixes. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update to 1.1.12 + git from 2016-01-22Felix Fietkau2016-01-259-201/+8125
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: backport a libgcc fix for a dependency on libc write() on ARMFelix Fietkau2016-01-251-0/+35
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: wpan: mrf24j40 depends on regmap-spiFelix Fietkau2016-01-251-1/+1
| | | | | | | | | | | | | kmod-mrf24j40 select REGMAP_SPI since 4.3, thus add dependency to kmod-regmap. Found by buildbot: Package kmod-mrf24j40 is missing dependencies for the following libraries: regmap-spi.ko Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: fix sysupgrade 'wget' handling for uclient-fetchFelix Fietkau2016-01-251-3/+4
| | | | | | | | | | | | | change 48451 tried to add support for uclient-fetch by moving /usr/bin/wget to /bin/wget, but this change kept the symbolic link to /bin/busybox as install_bin creates links to param 1 the desired fix is to link to uclient-fetch to wget: install_bin /bin/uclient-fetch /bin/wget Signed-off-by: John Clark <inindev@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48483 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix a small bug in the MIPS highmem fixFelix Fietkau2016-01-254-8/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable CONFIG_USERFAULTFD, it is unusedFelix Fietkau2016-01-252-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48481 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: mtdsplit: document Seama splitter a bitRafał Miłecki2016-01-251-8/+10
| | | | | | | | | | Rename kernel_size variable as it includes whole entity size, not just a kernel size. Also update comments to match it and describe better what are we checking/looking for. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: restrict separate kmod repo handling to base packagesJo-Philipp Wich2016-01-241-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: improve iptables listing output of xt_id matchJo-Philipp Wich2016-01-242-4/+14
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some missing kernel config optionsHauke Mehrtens2016-01-246-0/+8
| | | | | | | | | The built bots found these missing kernel configuration options. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86/64: add missing kernel symbolJo-Philipp Wich2016-01-241-0/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: group kmod ipk files into a "kernel" subdirectoryJo-Philipp Wich2016-01-248-14/+16
| | | | | | | | | | This is useful to just use the kmods from an official build while supplying base packages from a custom feed or the other way around; for just overriding the kmods with a local repo while using official repos for the rest. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix relocate build with binutils 2.25.1Jonas Gorski2016-01-241-1/+2
| | | | | | | | | | | | | | The new .abiflags section was kept, pushing the appended arguments to the wrong offset and causing it to read the section instead, making it fail on boot. Fix this by dropping this section as well as the other sections. Closes #21679. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix build of lzma-loader with binutils 2.25.1Jonas Gorski2016-01-241-1/+2
| | | | | | | | Apply the same fix as ar71xx needed in r46893. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: simplify init codeJonas Gorski2016-01-241-6/+1
| | | | | | | | | Directly return the return value of genl_register_family_with_ops() instead of storing it in a temporary variable, then returning it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: drop linux < 3.13 code pathsJonas Gorski2016-01-241-20/+0
| | | | | | | | | The oldest kernel we support is 3.18, no need to keep code paths for older kernels. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add -fno-plt to default cflags, it improves PIC code optimizationFelix Fietkau2016-01-241-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: re-enable highmem support for MT7621 now that it's fixedFelix Fietkau2016-01-242-0/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix MIPS highmem breakageFelix Fietkau2016-01-242-0/+190
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: Add format attribute to some function declarationsHauke Mehrtens2016-01-241-0/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | GCC and Clang are able to check the format arguments given to a function and warn the user if there is a error in the format arguments or if there is a potential uncontrolled format string security problem in the code. GCC does this automatically for some functions like printf(), but it is also possible to annotate other functions in a way that it will check them too. This feature is used by glibc for many functions. This patch adds the attribute to the some functions of musl expect for these functions where gcc automatically adds it. GCC automatically adds checks for these functions: printf, fprintf, sprintf, scanf, fscanf, sscanf, strftime, vprintf, vfprintf and vsprintf. The documentation from gcc is here: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html The documentation from Clang is here: http://clang.llvm.org/docs/AttributeReference.html#format-gnu-format Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: mips: add vdso supportHauke Mehrtens2016-01-231-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | vdso support is available on mips starting with kernel 4.4, see kernel commit a7f4df4e21 "MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()" for details. These are my micro benchmark results for 1.000.000 calls to clock_gettime(CLOCK_MONOTONIC, &tp) without vdso: root@OpenWrt:/# time ./vdso-test real 0m 0.95s user 0m 0.24s sys 0m 0.70s with vdso: root@OpenWrt:/# time /usr/bin/vdso-test real 0m 0.35s user 0m 0.34s sys 0m 0.00s Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclient: update to the latest version, now truncates files when overwriting themFelix Fietkau2016-01-231-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a package for bcm-phy-lib.ko, fixes build errors with ↵Felix Fietkau2016-01-231-1/+14
| | | | | | | | kmod-phy-broadcom Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclient: update to the latest version, improves interoperability with quirky ↵Felix Fietkau2016-01-231-2/+2
| | | | | | | | servers Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48463 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ustream-ssl: update to the latest version, fixes handling SSL connection ↵Felix Fietkau2016-01-231-2/+2
| | | | | | | | close notification Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a fix for deadlocks on dump_stackFelix Fietkau2016-01-231-0/+118
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48461 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "kernel: work around CONFIG_CPU_SW_DOMAIN_PAN breakage on ARM11 MPCore"Felix Fietkau2016-01-231-44/+0
| | | | | | | | | | | | This reverts commit r48335 The workaround is incomplete and cannot cover all possible cases. The only real solution to this problem is to disable this feature on ARM11MPcore entirely. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbolFelix Fietkau2016-01-231-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux-atm: add missing br2684ctl patch chunkFelix Fietkau2016-01-231-0/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-app: mask out VDSL bits when ATM is selected, fixes compatibility ↵Felix Fietkau2016-01-231-2/+5
| | | | | | | | issues with some DSLAMs Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4"Felix Fietkau2016-01-221-1/+1
| | | | | | | | | | | | This reverts commit r48276. This can overwrite the caldata_backup partition, so the layout needs to be changed in a different way. Thanks to Arjen de Korte for spotting the issue. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: bump versionFelix Fietkau2016-01-221-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Add kernel module for Freescale SNVS RTC on chip moduleFelix Fietkau2016-01-221-0/+16
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86_64: Add missing symbolsFelix Fietkau2016-01-222-0/+12
| | | | | | Update to kernel 4.4 missed some symbols, fix that. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: Add IPv6 supportFelix Fietkau2016-01-222-28/+64
| | | | | | | | | | | | | | | This adds IPv6 support to qos-scripts for both tc/qdisc and the iptables classification rules. The tc/qdisc part is accomplished by removing "protocol ip" from the tc command line, causing the rule to be applied to all protocols. The iptables part is accomplished by adding each rule using both iptables and ip6tables. This patch is based on previous work by Ilkka Ollakka and Dominique Martinet. Signed-off-by: Michael Marley <michael@michaelmarley.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: fix sysupgrade 'wget' handlingFelix Fietkau2016-01-221-1/+1
| | | | | | | | | | | with r48379 and r48386 the path of wget changed. respect that and adjust the dirname. this fixes #21680 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add uclient-fetch to the default packages, in case opkg is not selectedFelix Fietkau2016-01-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport bcma stuff sent for 4.6Rafał Miłecki2016-01-226-0/+1418
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: allow multiple virtual interfaces on DFS channelsFelix Fietkau2016-01-224-4/+59
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* flock: do not use ccache, fixes build errorFelix Fietkau2016-01-211-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: Allow classification by the traffic's source interfaceFelix Fietkau2016-01-211-0/+3
| | | | | | | | | | | This adds a "srciface" option that can be used on classification rules in /etc/config/qos. This is useful to allow prioritization based on the local network from which the traffic originates, for example to deprioritize traffic from a guest network. Signed-off-by: Michael Marley <michael@michaelmarley.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: stop overriding tx queue lengthFelix Fietkau2016-01-211-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: backport a fix that caused the wrong relocations to be emitted on some ↵Felix Fietkau2016-01-211-0/+55
| | | | | | | | architectures Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: clean up redundant SLUB/SLAB related defines for 4.4Felix Fietkau2016-01-215-13/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: switch to SLUB by default in 4.4 (for improved performance)Felix Fietkau2016-01-211-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48442 3c298f89-4303-0410-b956-a3cf2f4a3e73