aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* include/prereq.mk: fix echo commands with simple /bin/shFelix Fietkau2015-02-071-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44297 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: fix prereq tests for perl and file (#18911)Jo-Philipp Wich2015-02-061-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: use SHELL, not BASH for HOST_CONFIGURE_VARSJo-Philipp Wich2015-02-061-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rules.mk: use relative paths for BASH, TAR, FIND, PATCH, PYTHONJo-Philipp Wich2015-02-061-5/+5
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44294 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: don't pregenerate package index, strip host binariesJo-Philipp Wich2015-02-061-2/+2
| | | | | | | | | | | | The package index is generated on first use anyway, therefore it makes no sense to continue shipping it. Also sstrip the bundled host binaries when packing the IB to save some additional space. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: rework git prereq test to not require 'man'Jo-Philipp Wich2015-02-061-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add note about the move to single firmware filesImre Kaloz2015-02-061-0/+3
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: support building images for a single boardImre Kaloz2015-02-067-29/+170
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libevent2: update to v2.0.22Jo-Philipp Wich2015-02-061-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: use FreeBSD compatible tar invocationJo-Philipp Wich2015-02-061-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* config: remove CONFIG_BUILD_STATIC_TOOLSJo-Philipp Wich2015-02-061-8/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: remove static tool linking supportJo-Philipp Wich2015-02-062-24/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: remove static linking supportJo-Philipp Wich2015-02-0628-40/+20
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+26
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: don't hardcode /bin/bashJo-Philipp Wich2015-02-051-0/+9
| | | | | | | | | Instead of hardcoding /bin/bash, use /usr/bin/env bash - this fixes the build on FreeBSD 10.1. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ncurses: add host build for 'tic'Jo-Philipp Wich2015-02-051-0/+27
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: Fix cmake build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+44
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: Fix mkimage build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+14
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: Fix mpfr build on FreeBSD 10.1Jo-Philipp Wich2015-02-052-1/+11
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: Fix xz build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+11
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: let HOSTCC default to $(CC), not gccJo-Philipp Wich2015-02-051-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44277 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: don't rely on perl for printing prereq errorsJo-Philipp Wich2015-02-051-1/+1
| | | | | | | | | Perl might not be present while checking prereqs, e.g. on a fresh FreeBSD install. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44276 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: set shell to "sh" for prereq testsJo-Philipp Wich2015-02-051-0/+1
| | | | | | | | | Bash is not guaranteed to be present, e.g. on a fresh FreeBSD install so perform prereq tests with /bin/sh. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: remove PrepareCommand macrosJo-Philipp Wich2015-02-051-39/+2
| | | | | | | | They're part of prereq-build.mk now. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: remove host command tests from host.mkJo-Philipp Wich2015-02-051-22/+6
| | | | | | | | Those tests are part of prereq-build.mk now. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44273 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: declare variables formerly set in tmp/.host.mkJo-Philipp Wich2015-02-051-0/+6
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: prereq-build.mk: use TestHostCommand and SetupHostCommandJo-Philipp Wich2015-02-051-150/+123
| | | | | | | | | Also move tests from tools/Makefile and include/host.mk here to have all tests in a central place. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44271 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: test build prereqs before preparing tempinfoJo-Philipp Wich2015-02-051-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: add TestHostCommand and SetupHostCommand macrosJo-Philipp Wich2015-02-051-2/+46
| | | | | | | | | Those macros allow testing various commands on the host system, also process the prereq tests in the order they're declared. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44269 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: don't generate targz images by defaultImre Kaloz2015-02-051-2/+2
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: Enable the A385 AP on 3.19Imre Kaloz2015-02-057-0/+606
| | | | | | | | | | | | | | In order for the image to be built, some patches need to be ported to 3.19. Add the relevant patches. Note that most of them (if not all) should be merged in 3.20, removing the need to carry them on then. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add Armada 385 DB AP supportImre Kaloz2015-02-058-0/+607
| | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add the Armada 385 Reference Design supportImre Kaloz2015-02-053-0/+41
| | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: fix NAND and NOR optionsImre Kaloz2015-02-051-6/+10
| | | | | | | | | | | | | | | | | All the boards but Mamba had wrong UBI options so far, making it impossible to flash the built image on their respective storage medium. Fix all of the supported boards in order to make the generated images useful. Tested on a Mirabox, an Armada XP GP and an Openblocks AX3, and used the NAND chip datasheet for the others. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44264 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add a subprofile for boards based on a small NORImre Kaloz2015-02-051-0/+25
| | | | | | | | | | | | | | | Some boards only come with a small NOR on it, where UBI isn't a good solution because of its overhead. Add a new subprofile for such boards, that rely on the mtd split framework instead. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add large NOR sub-profile implementationImre Kaloz2015-02-051-0/+22
| | | | | | | | | | | | | While we supported only the NAND so far, some boards use a large enough NOR, where UBI is the only reasonable option. Create a new sub-profile template with a different set of UBI options. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: Add sub-profilesImre Kaloz2015-02-051-22/+74
| | | | | | | | | | | | | | | | In order to support the various board NAND layout that we support, introduce a sub-profile similar to the one used by ar71xx. These subprofiles provide a default implementation for most of the building functions, while allowing each sub-profile to override any of these operations in order to have a more specific behaviour, like Mamba expects for example. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: allow ubi autoattach to run on NOR flashImre Kaloz2015-02-054-8/+12
| | | | | | | | | | | | | | Some devices out there only have a NOR flash to store the rootfs on. While using UBI is arguable on this kind of flash, this is something that should be supported. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44260 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: Add MTD split framework supportImre Kaloz2015-02-052-0/+4
| | | | | | | | | | We're going to need the MTD split related options for our NOR support. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* config: fix typo in Global build settings menuNicolas Thill2015-02-051-2/+2
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: remove VHT capabilities when not using 802.11acJohn Crispin2015-02-041-0/+46
| | | | | | | | | The mt76 driver might have some problem working with MT7602. MT7602 should not have VHT capabilities . But the driver not identity properly. Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44257 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/modules: add support for Asix ax88179 USB-Gigabit Ethernet adaptersJohn Crispin2015-02-041-0/+17
| | | | | | | | | requested and tested by forum user OWonPi https://forum.openwrt.org/viewtopic.php?id=55495 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-LINK TL-WR941ND v5John Crispin2015-02-049-7/+77
| | | | | | | | | This device is very similar to the TL-WR841N v8, only two LED GPIOs are different. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44255 3c298f89-4303-0410-b956-a3cf2f4a3e73
* at71xx: TP-LINK Archer: add 5GHz led entryJohn Crispin2015-02-041-0/+1
| | | | | | | | Add 5GHz led entry after r44033. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: default_postinst() fix variable colisionJohn Crispin2015-02-041-15/+15
| | | | | | | | | | | | | The name variable contains at first the package name, and after the last group name. This patch fixes /etc/rc.d symlink creation (at least). Change name in pkgname, change the other name in ugname (user group name), and id in ugid (user group id) Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath5k: fix spontaneus AR5312 freezesJohn Crispin2015-02-041-0/+45
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/3.18: update to 3.18.5John Crispin2015-02-031-2/+2
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix USB host function for Intenso M2MJohn Crispin2015-02-031-1/+3
| | | | | | | | | | | | | | | | | | The ubootloader of the M2M sets the reset bits for both USB device and USB host during initialization (to save a few mA of power during boot). However, for the usb<->sata bridge to be properly detected, it is necessary to clear both reset bits as otherwise the kernel logs will just be filled with: usb 1-1: device descriptor read/64, error -145 ... Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix possible fail to check for dependenciesJohn Crispin2015-02-031-1/+1
| | | | | | | | | | | | Few characters in filenames (a plus sign, a dot) can be interpreted specially by grep. This can lead to the omission of missing package dependency. For example if we would have "some.file.so" then it matches also "some2file.so". -F switch off special meaning of any character and -x match against whole line. Signed-off-by: SÅ‚awomir Demeszko <s.demeszko@wireless-instruments.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* map: Fix white space errorsJohn Crispin2015-02-031-3/+3
| | | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44246 3c298f89-4303-0410-b956-a3cf2f4a3e73