Commit Graph

33176 Commits (3a2fbeb9964b31b6fa911a0350173e4e439a89cc)

Author SHA1 Message Date
Luka Perkov b7c188b9a9 package: uboot-envtools: add nbg6716 to appropriate group
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:59:08 +00:00
Luka Perkov 06cb32132f ar71xx: uci-defaults: add el-mini to appropriate group
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:59:05 +00:00
Luka Perkov c26b155ba7 ar71xx: qihoo: define flash variable as static
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:59:02 +00:00
Luka Perkov 1fcecf6f5b targets: base-files: diag.sh does not need to be executable
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:58:58 +00:00
Luka Perkov f114cabfef targets: files in uci-defaults do not need to be executables
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:58:52 +00:00
Luka Perkov 383b0a6cce ar71xx: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 17:48:39 +00:00
Luka Perkov 6ca16eadc3 kernel: update 3.14 to 3.14.32
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 17:48:33 +00:00
Jo-Philipp Wich 03bbda6840 6in4: don't use /dev/stdout for wget calls
Busybox ash does not implement /dev/stdout, therfore any wget output
is written into a file /dev/stdout instead of onto the standard output.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 13:33:15 +00:00
Felix Fietkau d09ab54291 build: accept apple llvm as fallback for gcc/g++
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 10:07:31 +00:00
Felix Fietkau 435c83154e include/prereq.mk: fix echo commands with simple /bin/sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 10:07:05 +00:00
Jo-Philipp Wich 65180dee3d include: fix prereq tests for perl and file (#18911)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 17:38:54 +00:00
Jo-Philipp Wich a7693a268f include: use SHELL, not BASH for HOST_CONFIGURE_VARS
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 13:14:29 +00:00
Jo-Philipp Wich f40bdb6b86 rules.mk: use relative paths for BASH, TAR, FIND, PATCH, PYTHON
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 12:35:36 +00:00
Jo-Philipp Wich 50bd81d3df imagebuilder: don't pregenerate package index, strip host binaries
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
2015-02-06 12:31:31 +00:00
Jo-Philipp Wich 07e19452d8 include: rework git prereq test to not require 'man'
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 11:50:08 +00:00
Imre Kaloz 623f057f46 mvebu: add note about the move to single firmware files
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 11:18:59 +00:00
Imre Kaloz 32a16916ad mvebu: support building images for a single board
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 11:16:20 +00:00
Jo-Philipp Wich daf0abacc2 libevent2: update to v2.0.22
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 10:30:04 +00:00
Jo-Philipp Wich 24d181ebd5 imagebuilder: use FreeBSD compatible tar invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 00:27:06 +00:00
Jo-Philipp Wich f154b5d98c config: remove CONFIG_BUILD_STATIC_TOOLS
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 00:00:51 +00:00
Jo-Philipp Wich 875eefa24c include: remove static tool linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 00:00:47 +00:00
Jo-Philipp Wich 57364b8623 tools: remove static linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 00:00:43 +00:00
Jo-Philipp Wich bfe1d210b6 busybox: fix build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 23:32:17 +00:00
Jo-Philipp Wich 2467d38ca5 mac80211: don't hardcode /bin/bash
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
2015-02-05 23:18:47 +00:00
Jo-Philipp Wich 38aa3a820c ncurses: add host build for 'tic'
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 23:18:42 +00:00
Jo-Philipp Wich 7954f31e2f tools: Fix cmake build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:58:24 +00:00
Jo-Philipp Wich 3e095d851a tools: Fix mkimage build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:58:16 +00:00
Jo-Philipp Wich b59c2b7ff4 tools: Fix mpfr build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:58:10 +00:00
Jo-Philipp Wich 75ea8c12e9 tools: Fix xz build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:57 +00:00
Jo-Philipp Wich 072d257732 include: let HOSTCC default to $(CC), not gcc
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:50 +00:00
Jo-Philipp Wich a1ababcdc9 include: don't rely on perl for printing prereq errors
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
2015-02-05 16:57:46 +00:00
Jo-Philipp Wich e47a17f901 include: set shell to "sh" for prereq tests
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
2015-02-05 16:57:39 +00:00
Jo-Philipp Wich 9d1b6bb8f9 tools: remove PrepareCommand macros
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
2015-02-05 16:57:35 +00:00
Jo-Philipp Wich 8a73b06ead include: remove host command tests from host.mk
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
2015-02-05 16:57:31 +00:00
Jo-Philipp Wich b65868e954 include: declare variables formerly set in tmp/.host.mk
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:18 +00:00
Jo-Philipp Wich 87511c86a7 include: prereq-build.mk: use TestHostCommand and SetupHostCommand
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
2015-02-05 16:57:12 +00:00
Jo-Philipp Wich e550abd161 include: test build prereqs before preparing tempinfo
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:09 +00:00
Jo-Philipp Wich b4e80c13ae include: add TestHostCommand and SetupHostCommand macros
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
2015-02-05 16:57:02 +00:00
Imre Kaloz fd2b6e002e mvebu: don't generate targz images by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:31:52 +00:00
Imre Kaloz 6fb6373091 mvebu: Enable the A385 AP on 3.19
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
2015-02-05 15:41:07 +00:00
Imre Kaloz ecf2d3a6ef mvebu: add Armada 385 DB AP 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@44266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:34:21 +00:00
Imre Kaloz c0e5c48199 mvebu: add the Armada 385 Reference Design 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@44265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:29:56 +00:00
Imre Kaloz c3cc30bc84 mvebu: fix NAND and NOR options
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
2015-02-05 11:26:17 +00:00
Imre Kaloz 6c1456ba13 mvebu: add a subprofile for boards based on a small NOR
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
2015-02-05 11:25:21 +00:00
Imre Kaloz fc9eed5539 mvebu: add large NOR sub-profile implementation
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
2015-02-05 11:24:10 +00:00
Imre Kaloz 552279824c mvebu: Add sub-profiles
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
2015-02-05 11:22:43 +00:00
Imre Kaloz d2fa50e57a generic: allow ubi autoattach to run on NOR flash
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
2015-02-05 11:21:31 +00:00
Imre Kaloz ebfbc428e2 mvebu: Add MTD split framework support
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
2015-02-05 11:14:53 +00:00
Nicolas Thill f2997674f1 config: fix typo in Global build settings menu
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 05:10:44 +00:00
John Crispin b0cb6d1bb8 ralink: remove VHT capabilities when not using 802.11ac
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
2015-02-04 06:11:01 +00:00