lede.git
10 years agoar71xx: add mc-mac1200r to do_load_ath10k_board_bin()
John Crispin [Tue, 10 Feb 2015 05:52:53 +0000 (05:52 +0000)]
ar71xx: add mc-mac1200r to do_load_ath10k_board_bin()

This patch adds the mc-mac1200r target to do_load_ath10k_board_bin() in
target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin to load the
ath10k radio MAC address from the EEPROM in MERCURY MAC1200R devices

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 44375

10 years agooxnas: switch to 3.18
John Crispin [Tue, 10 Feb 2015 05:52:48 +0000 (05:52 +0000)]
oxnas: switch to 3.18

Tested on stg212 and kd20.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44374

10 years agokernel: add missing symbol
John Crispin [Tue, 10 Feb 2015 05:52:41 +0000 (05:52 +0000)]
kernel: add missing symbol

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44373

10 years agoralink: fix hw status almost full not work on mt7620 and mt7621
John Crispin [Mon, 9 Feb 2015 19:34:49 +0000 (19:34 +0000)]
ralink: fix hw status almost full not work on mt7620 and mt7621

the old FE_INT_STATUS register becomes two registers.
FE_INT_STATUS and INT_STATUS. so the hw status almost full
must change to read from FE_INT_STATUS register.
tx/rx done read from INT_STATUS register.

mt7620 datasheet define CNT_GDM1_AF at BIT(29).
but after test it should be BIT(13). why?

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44371

10 years agoralink: change rt3883 cpu type to 74kc
John Crispin [Mon, 9 Feb 2015 19:34:32 +0000 (19:34 +0000)]
ralink: change rt3883 cpu type to 74kc

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44370

10 years agorealview: r44368 contained a superflous patch
John Crispin [Mon, 9 Feb 2015 19:28:34 +0000 (19:28 +0000)]
realview: r44368 contained a superflous patch

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44369

10 years agorealview: bump to 3.18
John Crispin [Mon, 9 Feb 2015 19:24:48 +0000 (19:24 +0000)]
realview: bump to 3.18

Signed-off-by: Your Name <blogic@openwrt.org>
SVN-Revision: 44368

10 years agobcm53xx: fix loading SPROM content by bcma init change
Rafał Miłecki [Mon, 9 Feb 2015 18:43:05 +0000 (18:43 +0000)]
bcm53xx: fix loading SPROM content by bcma init change

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44367

10 years agokernel: add missing symbol to realtek wifi
John Crispin [Mon, 9 Feb 2015 18:15:30 +0000 (18:15 +0000)]
kernel: add missing symbol to realtek wifi

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44366

10 years agoopenssl: fix upstream regression for non-ec builds
Steven Barth [Mon, 9 Feb 2015 15:26:35 +0000 (15:26 +0000)]
openssl: fix upstream regression for non-ec builds

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44364

10 years agoixp4xx: add v3.18 support
John Crispin [Mon, 9 Feb 2015 14:24:00 +0000 (14:24 +0000)]
ixp4xx: add v3.18 support

Signed-off-by: Your Name <blogic@openwrt.org>
SVN-Revision: 44363

10 years agorpcd: fix session.{login,list,destroy} method signatures
Jo-Philipp Wich [Mon, 9 Feb 2015 12:54:29 +0000 (12:54 +0000)]
rpcd: fix session.{login,list,destroy} method signatures

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

10 years agopolarssl: bump to 1.3.10, work around rename to mbedtls
Steven Barth [Mon, 9 Feb 2015 12:44:32 +0000 (12:44 +0000)]
polarssl: bump to 1.3.10, work around rename to mbedtls

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44361

10 years agoar71xx: dir-505: fix reset button gpio active_low value
John Crispin [Mon, 9 Feb 2015 12:17:00 +0000 (12:17 +0000)]
ar71xx: dir-505: fix reset button gpio active_low value

Fix 'active_low' default value for the reset button on DIR-505.

Signed-off-by: Rocco Folino <rocco@devzen.net>
SVN-Revision: 44360

10 years agoar71xx: Add support for MERCURY MAC1200R
John Crispin [Mon, 9 Feb 2015 12:16:51 +0000 (12:16 +0000)]
ar71xx: Add support for MERCURY MAC1200R

This patch adds support for MERCURY MAC1200R, a dual band 802.11bgn + 802.11ac
router based on the AR9344, with QCA988x ath10k radio and 5 Fast Ethernet ports

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 44359

10 years agoar71xx: fix nbg6716 power and usb led
John Crispin [Mon, 9 Feb 2015 12:16:43 +0000 (12:16 +0000)]
ar71xx: fix nbg6716 power and usb led

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Marcin Mikolajczak <gr4ffy@gmail.com>
SVN-Revision: 44358

10 years agooxnas: copy ubinized images to binary folder
John Crispin [Mon, 9 Feb 2015 12:16:04 +0000 (12:16 +0000)]
oxnas: copy ubinized images to binary folder

Since r43778 ubinized images are stored inside KDIR. This makes sense
when using an uninized image to generate a factory image.
On oxnas ubinized images were used for sysupgrade before proper NAND
support was implemented in OpenWrt.
For users still on old builds before sysupgrade.tar was introduced,
ubinized image is thus the only option to conveniantly upgrade to a
more recent build.
Copy ubinized image also to BIN_DIR, so it will be easier for users
to find them.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44357

10 years agoramips: Kingston MLW221 and MLWG2 cleanup
John Crispin [Mon, 9 Feb 2015 12:15:45 +0000 (12:15 +0000)]
ramips: Kingston MLW221 and MLWG2 cleanup

MLW221 dts use tabs NOT spaces.
MLWG2 dts typo and 1 tab not spaces
01_leds and diag.sh cleanup

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 44356

10 years agoramips: fix mt76 radio pcie location definition for in Xiaomi MiWiFi Mini
John Crispin [Mon, 9 Feb 2015 12:15:17 +0000 (12:15 +0000)]
ramips: fix mt76 radio pcie location definition for in Xiaomi MiWiFi Mini

This patch sets the correct location of the mt76 radio in the pcie bridge
(pcie-bridge instead of pcie0). Additionaly, it disables the 2.4 GHz band.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 44355

10 years agoramips: Add mt76 node for Lenovo Y1 and Y1S.
John Crispin [Mon, 9 Feb 2015 12:15:00 +0000 (12:15 +0000)]
ramips: Add mt76 node for Lenovo Y1 and Y1S.

Both Y1 and Y1S have MT7612E wireless chip so I submitted this patch.
Tested on Lenovo Y1.

Signed-off-by: 郭传鈜 <gch981213@gmail.com>
SVN-Revision: 44354

10 years agolantiq: td-w8970: fix failsafe mode
John Crispin [Mon, 9 Feb 2015 12:14:48 +0000 (12:14 +0000)]
lantiq: td-w8970: fix failsafe mode

Fix failsafe mode for TD-W8970, register interface for preinit.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 44353

10 years agolantiq: td-w8970: fix reset button
John Crispin [Mon, 9 Feb 2015 12:14:32 +0000 (12:14 +0000)]
lantiq: td-w8970: fix reset button

For TP-LINK TD-W8970 button should work as "reset", not "BTN_1".

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 44352

10 years agolantiq: fix typo in script
John Crispin [Mon, 9 Feb 2015 12:14:22 +0000 (12:14 +0000)]
lantiq: fix typo in script

Fix typo in firmware installer script.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 44351

10 years agoocteon: switch to 3.18
John Crispin [Mon, 9 Feb 2015 12:14:09 +0000 (12:14 +0000)]
octeon: switch to 3.18

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44350

10 years agoralink: add 3.18 support
John Crispin [Mon, 9 Feb 2015 12:13:55 +0000 (12:13 +0000)]
ralink: add 3.18 support

keep default as 3.14, mt7621 gic need to be ported to 3.18

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44349

10 years agolantiq: add 3.18 support
John Crispin [Mon, 9 Feb 2015 12:13:25 +0000 (12:13 +0000)]
lantiq: add 3.18 support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44348

10 years agolantiq: fix dsl drivers for 3.18
John Crispin [Mon, 9 Feb 2015 12:12:52 +0000 (12:12 +0000)]
lantiq: fix dsl drivers for 3.18

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44346

10 years agoau1000: add 3.18 support
John Crispin [Mon, 9 Feb 2015 12:12:39 +0000 (12:12 +0000)]
au1000: add 3.18 support

this is only compile tested

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44345

10 years agoar7: add 3.18 support
John Crispin [Mon, 9 Feb 2015 12:12:30 +0000 (12:12 +0000)]
ar7: add 3.18 support

this is only compile tested

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44344

10 years agoar7-atm: make it compile under 3.18
John Crispin [Mon, 9 Feb 2015 12:12:09 +0000 (12:12 +0000)]
ar7-atm: make it compile under 3.18

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44343

10 years agomalta: drop 3.10 support
John Crispin [Mon, 9 Feb 2015 12:11:34 +0000 (12:11 +0000)]
malta: drop 3.10 support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44342

10 years agomalta: disable 64 builds as the userland has been broken for ages
John Crispin [Mon, 9 Feb 2015 12:11:28 +0000 (12:11 +0000)]
malta: disable 64 builds as the userland has been broken for ages

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44341

10 years agomalta: add 3.18 support
John Crispin [Mon, 9 Feb 2015 12:11:19 +0000 (12:11 +0000)]
malta: add 3.18 support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44340

10 years agokernel: copy mips_decompressor_memmove patch to 3.18/3.19
John Crispin [Mon, 9 Feb 2015 12:10:46 +0000 (12:10 +0000)]
kernel: copy mips_decompressor_memmove patch to 3.18/3.19

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44339

10 years agokernel: add missing symbols
John Crispin [Mon, 9 Feb 2015 12:10:18 +0000 (12:10 +0000)]
kernel: add missing symbols

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44338

10 years agobase-files: taint the build if the override mechanism is used
John Crispin [Mon, 9 Feb 2015 12:10:07 +0000 (12:10 +0000)]
base-files: taint the build if the override mechanism is used

If some packages are overridden (using ./scripts/feeds -f), add a new
taint flag in /etc/openwrt_release. We'll use the CONFIG_OVERRIDE_PKGS
variable reported through the .config to detect it.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44337

10 years agobuild: propagate override information to .config file
John Crispin [Mon, 9 Feb 2015 12:09:43 +0000 (12:09 +0000)]
build: propagate override information to .config file

With this change, override information is now parsed from the metadata
and put in the %packages hash. A new hash - %overrides - is created and
exported, to be used during the .config-package.in generation.

If an override is detected, a new option CONFIG_OVERRIDE_PKGS will be
created in the .config, and will contain a space-separated list of all
the overridden packages.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44336

10 years agobuild: propagate override information to .packageinfo
John Crispin [Mon, 9 Feb 2015 12:09:31 +0000 (12:09 +0000)]
build: propagate override information to .packageinfo

Packages overridden with "./scripts/feeds -f" will show up with an
"Override: <original-package-name>" in .packageinfo.

This will be useful to create a corresponding option in .config and
use this information during the build process.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44335

10 years agobuild: allow openwrt.git packages to be replaced by feeds
John Crispin [Mon, 9 Feb 2015 12:09:23 +0000 (12:09 +0000)]
build: allow openwrt.git packages to be replaced by feeds

Currently, replacing a package available in openwrt.git requires
modifications in openwrt.git, or requires duplicating the package in a
feed but with a different name, which causes all kind of problems
related to dependencies (all packages selecting it would have to be
modified accordingly to select the new package).

With this change, if a package with the same name is present both in
feeds/ and package/ folders, the one in feeds/ can override the one
in package/, both in the menuconfig and during the build, by passing the
"-f" option to "./scripts/feeds install"

This mechanism is particularly useful for vendor tree, or in general for
application which needs to replace one particular package which exists
within openwrt.git by a custom/newer version.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44334

10 years agokernel: fix compile error inside adm6996.c
John Crispin [Mon, 9 Feb 2015 12:09:17 +0000 (12:09 +0000)]
kernel: fix compile error inside adm6996.c

drivers/net/phy/adm6996.c:881:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u32' [-Wformat=]

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44333

10 years agoopenssl: bump to 1.0.2
Steven Barth [Mon, 9 Feb 2015 12:04:00 +0000 (12:04 +0000)]
openssl: bump to 1.0.2

Fixes CVE-2014-3513, CVE-2014-3567, CVE-2014-3568, CVE-2014-3566

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44332

10 years agonetifd: fix device config handling and add some config options
Steven Barth [Mon, 9 Feb 2015 08:30:06 +0000 (08:30 +0000)]
netifd: fix device config handling and add some config options

Thanks to Hans Dedecker

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44331

10 years agosdk: use prepare target to initialize git snapshot
Jo-Philipp Wich [Sun, 8 Feb 2015 22:54:27 +0000 (22:54 +0000)]
sdk: use prepare target to initialize git snapshot

The new approach is less prone to race conditions and will properly
snapshot the symlinks prepared by the prereq-build target.

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

10 years agoinclude: remove SDK specific target from toplevel.mk
Jo-Philipp Wich [Sun, 8 Feb 2015 22:54:19 +0000 (22:54 +0000)]
include: remove SDK specific target from toplevel.mk

Instead introduce a generic "make prepare" target which is executed if
include/prepare.mk exists.

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

10 years agoinclude: cmake: prevent inclusion of rpath in binaries
Jo-Philipp Wich [Sun, 8 Feb 2015 22:54:15 +0000 (22:54 +0000)]
include: cmake: prevent inclusion of rpath in binaries

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

10 years ago6in4: fix update timeout
Jo-Philipp Wich [Sun, 8 Feb 2015 22:20:38 +0000 (22:20 +0000)]
6in4: fix update timeout

The recent rework of the 6in4 endpoint update broke the retry mechanism.
Rework the timeout handling and make the update status more verbose.

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

10 years agoramips: fix patches after 3.14.32 bump
Luka Perkov [Sun, 8 Feb 2015 15:42:42 +0000 (15:42 +0000)]
ramips: fix patches after 3.14.32 bump

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44324

10 years agolinux/generic: add missing config symbols
Nicolas Thill [Sun, 8 Feb 2015 15:34:20 +0000 (15:34 +0000)]
linux/generic: add missing config symbols

Related to debug/tracing, only added to 3.14+, might be needed for older versions as well

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44323

10 years agolinux/sunxi: rename A20-OLinuXino-Lime profile
Nicolas Thill [Sun, 8 Feb 2015 15:34:13 +0000 (15:34 +0000)]
linux/sunxi: rename A20-OLinuXino-Lime profile

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44322

10 years agox86: refresh kernel config
Luka Perkov [Sun, 8 Feb 2015 15:31:25 +0000 (15:31 +0000)]
x86: refresh kernel config

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44321

10 years agolantiq: fix patches after 3.14.32 bump
Luka Perkov [Sun, 8 Feb 2015 15:09:45 +0000 (15:09 +0000)]
lantiq: fix patches after 3.14.32 bump

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44320

10 years agokirkwood: refresh kernel config
Luka Perkov [Sun, 8 Feb 2015 12:01:39 +0000 (12:01 +0000)]
kirkwood: refresh kernel config

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44319

10 years agokernel: update 3.18 to 3.18.6
Luka Perkov [Sun, 8 Feb 2015 12:01:37 +0000 (12:01 +0000)]
kernel: update 3.18 to 3.18.6

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44318

10 years agox86: declare missing kernel symbols
Jo-Philipp Wich [Sat, 7 Feb 2015 21:26:20 +0000 (21:26 +0000)]
x86: declare missing kernel symbols

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

10 years agoar71xx: ubnt: move new board patches into one
Luka Perkov [Sat, 7 Feb 2015 21:11:06 +0000 (21:11 +0000)]
ar71xx: ubnt: move new board patches into one

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44315

10 years agoar71xx: rb2011: apply patch to file
Luka Perkov [Sat, 7 Feb 2015 21:10:51 +0000 (21:10 +0000)]
ar71xx: rb2011: apply patch to file

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44314

10 years agoimagebuilder: align filename with SDK
Jo-Philipp Wich [Sat, 7 Feb 2015 21:01:48 +0000 (21:01 +0000)]
imagebuilder: align filename with SDK

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

10 years agosdk: rename file to mention target/subtarget and move host system to suffix
Jo-Philipp Wich [Sat, 7 Feb 2015 21:01:43 +0000 (21:01 +0000)]
sdk: rename file to mention target/subtarget and move host system to suffix

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

10 years agotoolchain: respect CONFIG_VERSION_FILENAMES and add host system suffix
Jo-Philipp Wich [Sat, 7 Feb 2015 21:01:37 +0000 (21:01 +0000)]
toolchain: respect CONFIG_VERSION_FILENAMES and add host system suffix

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

10 years agoopenvpn: autostart openvpn instances for each .conf file in /etc/openvpn
Jo-Philipp Wich [Sat, 7 Feb 2015 21:01:28 +0000 (21:01 +0000)]
openvpn: autostart openvpn instances for each .conf file in /etc/openvpn

Align init behaviour with other distros by starting an OpenVPN instance
for each config file found in /etc/openvpn/. This removes the additional
requirement to "register" the configs with uci and thus simplifies the
setup.

Make sure to respect the disabled state in uci to not suddenly autostart
instances which have been previously set to disabled, also skip configs
which are already started due to uci configuration.

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

10 years agoar71xx: merge board specific patches into one
Luka Perkov [Sat, 7 Feb 2015 20:53:16 +0000 (20:53 +0000)]
ar71xx: merge board specific patches into one

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44309

10 years agopackage: uboot-envtools: add nbg6716 to appropriate group
Luka Perkov [Sat, 7 Feb 2015 19:59:08 +0000 (19:59 +0000)]
package: uboot-envtools: add nbg6716 to appropriate group

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44308

10 years agoar71xx: uci-defaults: add el-mini to appropriate group
Luka Perkov [Sat, 7 Feb 2015 19:59:05 +0000 (19:59 +0000)]
ar71xx: uci-defaults: add el-mini to appropriate group

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44307

10 years agoar71xx: qihoo: define flash variable as static
Luka Perkov [Sat, 7 Feb 2015 19:59:02 +0000 (19:59 +0000)]
ar71xx: qihoo: define flash variable as static

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44306

10 years agotargets: base-files: diag.sh does not need to be executable
Luka Perkov [Sat, 7 Feb 2015 19:58:58 +0000 (19:58 +0000)]
targets: base-files: diag.sh does not need to be executable

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44305

10 years agotargets: files in uci-defaults do not need to be executables
Luka Perkov [Sat, 7 Feb 2015 19:58:52 +0000 (19:58 +0000)]
targets: files in uci-defaults do not need to be executables

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44304

10 years agoar71xx: refresh patches
Luka Perkov [Sat, 7 Feb 2015 17:48:39 +0000 (17:48 +0000)]
ar71xx: refresh patches

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44303

10 years agokernel: update 3.14 to 3.14.32
Luka Perkov [Sat, 7 Feb 2015 17:48:33 +0000 (17:48 +0000)]
kernel: update 3.14 to 3.14.32

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44302

10 years ago6in4: don't use /dev/stdout for wget calls
Jo-Philipp Wich [Sat, 7 Feb 2015 13:33:15 +0000 (13:33 +0000)]
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>
SVN-Revision: 44301

10 years agobuild: accept apple llvm as fallback for gcc/g++
Felix Fietkau [Sat, 7 Feb 2015 10:07:31 +0000 (10:07 +0000)]
build: accept apple llvm as fallback for gcc/g++

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44298

10 years agoinclude/prereq.mk: fix echo commands with simple /bin/sh
Felix Fietkau [Sat, 7 Feb 2015 10:07:05 +0000 (10:07 +0000)]
include/prereq.mk: fix echo commands with simple /bin/sh

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44297

10 years agoinclude: fix prereq tests for perl and file (#18911)
Jo-Philipp Wich [Fri, 6 Feb 2015 17:38:54 +0000 (17:38 +0000)]
include: fix prereq tests for perl and file (#18911)

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

10 years agoinclude: use SHELL, not BASH for HOST_CONFIGURE_VARS
Jo-Philipp Wich [Fri, 6 Feb 2015 13:14:29 +0000 (13:14 +0000)]
include: use SHELL, not BASH for HOST_CONFIGURE_VARS

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

10 years agorules.mk: use relative paths for BASH, TAR, FIND, PATCH, PYTHON
Jo-Philipp Wich [Fri, 6 Feb 2015 12:35:36 +0000 (12:35 +0000)]
rules.mk: use relative paths for BASH, TAR, FIND, PATCH, PYTHON

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

10 years agoimagebuilder: don't pregenerate package index, strip host binaries
Jo-Philipp Wich [Fri, 6 Feb 2015 12:31:31 +0000 (12:31 +0000)]
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>
SVN-Revision: 44293

10 years agoinclude: rework git prereq test to not require 'man'
Jo-Philipp Wich [Fri, 6 Feb 2015 11:50:08 +0000 (11:50 +0000)]
include: rework git prereq test to not require 'man'

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

10 years agomvebu: add note about the move to single firmware files
Imre Kaloz [Fri, 6 Feb 2015 11:18:59 +0000 (11:18 +0000)]
mvebu: add note about the move to single firmware files

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44291

10 years agomvebu: support building images for a single board
Imre Kaloz [Fri, 6 Feb 2015 11:16:20 +0000 (11:16 +0000)]
mvebu: support building images for a single board

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44290

10 years agolibevent2: update to v2.0.22
Jo-Philipp Wich [Fri, 6 Feb 2015 10:30:04 +0000 (10:30 +0000)]
libevent2: update to v2.0.22

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

10 years agoimagebuilder: use FreeBSD compatible tar invocation
Jo-Philipp Wich [Fri, 6 Feb 2015 00:27:06 +0000 (00:27 +0000)]
imagebuilder: use FreeBSD compatible tar invocation

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

10 years agoconfig: remove CONFIG_BUILD_STATIC_TOOLS
Jo-Philipp Wich [Fri, 6 Feb 2015 00:00:51 +0000 (00:00 +0000)]
config: remove CONFIG_BUILD_STATIC_TOOLS

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

10 years agoinclude: remove static tool linking support
Jo-Philipp Wich [Fri, 6 Feb 2015 00:00:47 +0000 (00:00 +0000)]
include: remove static tool linking support

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

10 years agotools: remove static linking support
Jo-Philipp Wich [Fri, 6 Feb 2015 00:00:43 +0000 (00:00 +0000)]
tools: remove static linking support

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

10 years agobusybox: fix build on FreeBSD 10.1
Jo-Philipp Wich [Thu, 5 Feb 2015 23:32:17 +0000 (23:32 +0000)]
busybox: fix build on FreeBSD 10.1

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

10 years agomac80211: don't hardcode /bin/bash
Jo-Philipp Wich [Thu, 5 Feb 2015 23:18:47 +0000 (23:18 +0000)]
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>
SVN-Revision: 44283

10 years agoncurses: add host build for 'tic'
Jo-Philipp Wich [Thu, 5 Feb 2015 23:18:42 +0000 (23:18 +0000)]
ncurses: add host build for 'tic'

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

10 years agotools: Fix cmake build on FreeBSD 10.1
Jo-Philipp Wich [Thu, 5 Feb 2015 16:58:24 +0000 (16:58 +0000)]
tools: Fix cmake build on FreeBSD 10.1

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

10 years agotools: Fix mkimage build on FreeBSD 10.1
Jo-Philipp Wich [Thu, 5 Feb 2015 16:58:16 +0000 (16:58 +0000)]
tools: Fix mkimage build on FreeBSD 10.1

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

10 years agotools: Fix mpfr build on FreeBSD 10.1
Jo-Philipp Wich [Thu, 5 Feb 2015 16:58:10 +0000 (16:58 +0000)]
tools: Fix mpfr build on FreeBSD 10.1

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

10 years agotools: Fix xz build on FreeBSD 10.1
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:57 +0000 (16:57 +0000)]
tools: Fix xz build on FreeBSD 10.1

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

10 years agoinclude: let HOSTCC default to $(CC), not gcc
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:50 +0000 (16:57 +0000)]
include: let HOSTCC default to $(CC), not gcc

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

10 years agoinclude: don't rely on perl for printing prereq errors
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:46 +0000 (16:57 +0000)]
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>
SVN-Revision: 44276

10 years agoinclude: set shell to "sh" for prereq tests
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:39 +0000 (16:57 +0000)]
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>
SVN-Revision: 44275

10 years agotools: remove PrepareCommand macros
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:35 +0000 (16:57 +0000)]
tools: remove PrepareCommand macros

They're part of prereq-build.mk now.

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

10 years agoinclude: remove host command tests from host.mk
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:31 +0000 (16:57 +0000)]
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>
SVN-Revision: 44273

10 years agoinclude: declare variables formerly set in tmp/.host.mk
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:18 +0000 (16:57 +0000)]
include: declare variables formerly set in tmp/.host.mk

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

10 years agoinclude: prereq-build.mk: use TestHostCommand and SetupHostCommand
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:12 +0000 (16:57 +0000)]
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>
SVN-Revision: 44271

10 years agoinclude: test build prereqs before preparing tempinfo
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:09 +0000 (16:57 +0000)]
include: test build prereqs before preparing tempinfo

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

10 years agoinclude: add TestHostCommand and SetupHostCommand macros
Jo-Philipp Wich [Thu, 5 Feb 2015 16:57:02 +0000 (16:57 +0000)]
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>
SVN-Revision: 44269

10 years agomvebu: don't generate targz images by default
Imre Kaloz [Thu, 5 Feb 2015 16:31:52 +0000 (16:31 +0000)]
mvebu: don't generate targz images by default

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44268