openwrt/staging/xback.git
7 years agoperf: disable build for ARC, it is currently broken
Felix Fietkau [Tue, 2 May 2017 13:03:59 +0000 (15:03 +0200)]
perf: disable build for ARC, it is currently broken

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotarget: mpc85xx: make kernel_menuconfig
Alexandru Ardelean [Mon, 10 Apr 2017 14:48:24 +0000 (17:48 +0300)]
target: mpc85xx: make kernel_menuconfig

It's the best method I know (so far) to refresh
the kernel config to a default state.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agotarget: mpc85xx: tl_wdr4900_v1: drop 'fsl_rstcr_restart' hook
Alexandru Ardelean [Mon, 10 Apr 2017 15:29:59 +0000 (18:29 +0300)]
target: mpc85xx: tl_wdr4900_v1: drop 'fsl_rstcr_restart' hook

Since commit:
http://github.com/torvalds/linux/commit/7120438e5d82f445acbfe131a1b58eab7e83fa33

Seems that fsl_rstcr_restart() has been converted
to a reset handler and dropped as hook/callback.

Apply the same to the `tl_wdr4900_v1` target.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agotarget: mpc85xx: refresh kernel patches
Alexandru Ardelean [Mon, 10 Apr 2017 14:44:10 +0000 (17:44 +0300)]
target: mpc85xx: refresh kernel patches

Re-applied patches:
001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch
100-powerpc-85xx-tl-wdr4900-v1-support.patch

Dropped patch:
200-spi-fsl-espi-preallocate-local-buffer.patch
now part of kernel upstream hash
https://github.com/torvalds/linux/commit/1423877b73ed5f4982eaba8bed359605b9918a2b

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agotarget: mpc85xx: switch to kernel 4.9
Alexandru Ardelean [Mon, 10 Apr 2017 13:28:39 +0000 (16:28 +0300)]
target: mpc85xx: switch to kernel 4.9

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agobuild: remove absolute path to perl and replace with /usr/bin/env perl
Bastian Köcher [Mon, 27 Mar 2017 15:21:12 +0000 (17:21 +0200)]
build: remove absolute path to perl and replace with /usr/bin/env perl

Signed-off-by: Bastian Köcher <git@kchr.de>
7 years agokernel: allow selecting RTC drivers on targets without explicit RTC support
Felix Fietkau [Wed, 12 Apr 2017 07:15:38 +0000 (09:15 +0200)]
kernel: allow selecting RTC drivers on targets without explicit RTC support

Keep them disabled by default to avoid pulling in extra kernel bloat

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agouboot-omap: rename patch to 101-disable-thumb-omap3.patch
Alexander Couzens [Fri, 28 Apr 2017 12:34:46 +0000 (14:34 +0200)]
uboot-omap: rename patch to 101-disable-thumb-omap3.patch

It's disabling thumb for the whole omap3 family.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agouboot-omap: enable thumb for overo
Alexander Couzens [Fri, 28 Apr 2017 12:27:45 +0000 (14:27 +0200)]
uboot-omap: enable thumb for overo

Even it's unknown if it's booting with thumb, because the lack of hardware.
Enable it for now, so the build succeed, because without thumb it can not fit
into spl.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agomediatek: fix mt7530 mcm reset
John Crispin [Sat, 29 Apr 2017 07:48:35 +0000 (09:48 +0200)]
mediatek: fix mt7530 mcm reset

Early SoC versions with an ECO of 1 required the gpio reset.
Mass production SoCs no longer need this work around.

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoodhcpd: update to git HEAD version (FS#656,FS#595)
Hans Dedecker [Fri, 28 Apr 2017 19:45:10 +0000 (21:45 +0200)]
odhcpd: update to git HEAD version (FS#656,FS#595)

9268ca6 ndp: don't trigger IPv6 ping when neighbor entry is invalid
2b3355f ndp: fix adding proxy neighbor entries
7dff5b4 ndp: fix wrong interface name in syslog message
a54afb5 dhcpv6-ia: Fix segfault when writing DHCPv4 leases in state file
c0e9dbf ubus: don't segfault when there're no leases

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agodnsmasq: support dhcp_option config as a list
Hans Dedecker [Wed, 26 Apr 2017 20:37:27 +0000 (22:37 +0200)]
dnsmasq: support dhcp_option config as a list

Configuring dhcp_option as an option does not allow the usage of white
spaces in the option value; fix this by supporting dhcp_option as a list
config while still supporting the option config to maintain backwards
compatibility

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agox86: enable 4G high memory support for generic (32bit) subtarget
Jo-Philipp Wich [Thu, 27 Apr 2017 13:15:29 +0000 (15:15 +0200)]
x86: enable 4G high memory support for generic (32bit) subtarget

This is required to fully support a number of 32bit x86 systems equipped
with more than one GB ram, e.g. certain Atom CPU machines.

Ref: https://forum.lede-project.org/t/17-01-1-x86-doesnt-detect-all-of-the-ram/3295

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoramips: ZTE-Q7: fix switch driver initialization in DTS (FS#716)
Jo-Philipp Wich [Tue, 25 Apr 2017 12:56:57 +0000 (14:56 +0200)]
ramips: ZTE-Q7: fix switch driver initialization in DTS (FS#716)

Add the changes suggested by FS#716 to fix the switch driver initialization
on the ZTE Q7.

Also remove the `pinctrl-names` field obsoleted by the changes.

Reported-by: Harry Lau <harrylwc@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agobusybox: nslookup_lede: mimic output format of old Busybox applet
Jo-Philipp Wich [Tue, 25 Apr 2017 12:21:08 +0000 (14:21 +0200)]
busybox: nslookup_lede: mimic output format of old Busybox applet

When invoking "nslookup_lede" with a domain argument and without explicit
query type, issue both A and AAAA queries and display the resulting IP
addresses in a numbered list style, similar to how the old BusyBox nslookup
used to output the records.

This is required for compatibility with certain scripts.

Ref: https://forum.lede-project.org/t/nslookup-ipv6-in-lede-17-01-1

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agobusybox: nslookup_lede: fix compatibility with v1.25
Jo-Philipp Wich [Tue, 25 Apr 2017 12:03:11 +0000 (14:03 +0200)]
busybox: nslookup_lede: fix compatibility with v1.25

The ":*" optstring syntax was only recently introduced with BusyBox v1.26,
older versions need a corresponding hint in the "opt_complementary" variable
to denote flag values that should be stored as llist entries.

Add the required opt_complementary entry to fix random SIGBUS, SIGILL or
SIGSEGV related crashes on BusyBox 1.25.x when attempting to use the "-q"
flag of the "nslookup_lede" applet.

Ref: https://forum.lede-project.org/t/nslookup-ipv6-in-lede-17-01-1

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoramips: fix syntax error in board.d/01_leds
Mathias Kresin [Thu, 27 Apr 2017 07:38:25 +0000 (09:38 +0200)]
ramips: fix syntax error in board.d/01_leds

Fixes the following error:

  syntax error: unexpected newline (expecting ")")

Fixes: FS#739
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: ZBT-WE826: include the correct dtsi
Mathias Kresin [Wed, 26 Apr 2017 17:45:38 +0000 (19:45 +0200)]
ramips: ZBT-WE826: include the correct dtsi

Fix a copy/paste error and include the ZBT-WE826 dtsi instead of the
ZBT-WG3526 one.

Fix the syntax error in the ZBT-WE826 dtsi to prevent an compile error.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agodropbear: fix procd interface trigger install
Hans Dedecker [Wed, 26 Apr 2017 14:44:02 +0000 (16:44 +0200)]
dropbear: fix procd interface trigger install

Install procd interface triggers only for interfaces which are enabled
so dropbear instances running on (an) enabled interface(s) are not
restarted due to an interface trigger of an interface which is disabled.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agobusybox: Enable sendfile by default
Daniel Engberg [Fri, 21 Apr 2017 08:36:39 +0000 (10:36 +0200)]
busybox: Enable sendfile by default

Enable sendfile system call by default.
http://lists.busybox.net/pipermail/busybox-cvs/2014-November/034831.html

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agoinclude/packages-defaults.mk: Remove LARGEFILE option
Daniel Engberg [Fri, 21 Apr 2017 08:23:20 +0000 (10:23 +0200)]
include/packages-defaults.mk: Remove LARGEFILE option

Remove LARGEFILE option, support was removed back in 2011 (OpenWrt rev 25208).

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agoimx6: ventana: add GW553x board identification
Tim Harvey [Thu, 20 Apr 2017 21:51:37 +0000 (14:51 -0700)]
imx6: ventana: add GW553x board identification

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
7 years agoimx6: disable MSI interrupts
Tim Harvey [Thu, 20 Apr 2017 20:28:20 +0000 (13:28 -0700)]
imx6: disable MSI interrupts

The IMX6 PCIe host controller does not fire legacy interrupts if MSI is
enabled. A patch is being worked on to enable MSI at runtime only when
it is needed but meanwhile this patch will disable MSI for the imx6 kernel.

This fixes the no interrupt issue on cards/drivers that use legacy interrupts
such as ath9k.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
7 years agoimx6: apply upstream mmc fix for DDR50 cards on UHS-I capable boards
Tim Harvey [Thu, 20 Apr 2017 18:46:01 +0000 (11:46 -0700)]
imx6: apply upstream mmc fix for DDR50 cards on UHS-I capable boards

https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git/commit/?h=fixes&id=9f327845358d3dd0d8a5a7a5436b0aa5c432e757

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
7 years agobuild: fix symlinked .config handling
Sergey Ryazanov [Thu, 20 Apr 2017 02:10:45 +0000 (05:10 +0300)]
build: fix symlinked .config handling

When running "make menuconfig" with symlinked .config (e.g. to
env/.config) it renames symlink to .config.old, creates new .config file
and writes updated configuration here.

This breaks the desired workflow when changes in the configuration could
be checked using "scripts/env diff" and commited with
"scripts/env save". Since the env/.config file is not updated.

Fix this issue by exporting KCONFIG_OVERWRITECONFIG=1, which forces
mconf to overwrite the .config content, instead of renaming it and
creating a new file. This variable is set only if .config is a symlink,
otherwise the variable is not exported and the old behaviour is
preserved.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
7 years agoapm821xx: Merge the Cisco Meraki MX60 & MX60W
Chris Blake [Fri, 31 Mar 2017 09:32:55 +0000 (04:32 -0500)]
apm821xx: Merge the Cisco Meraki MX60 & MX60W

Both of these boards share the same DTS, and hardware. The only
difference would be the PCI-E slot, and ath9k card found on the MX60W.
Due to the similarities, it would be more efficient to merge these
profiles.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
7 years agoapm821xx: Add default packages to NAND target
Chris Blake [Fri, 31 Mar 2017 09:31:21 +0000 (04:31 -0500)]
apm821xx: Add default packages to NAND target

This moves core router packages to the NAND target, to ensure they are
applied to all images. This change is being done due to an issue found
when flashing the MX60W image, which came without these when built as a
multi image.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
7 years agoar71xx: fold 641-MIPS-ath79-fix-AR934x-OTP-offsets.patch into the patch that it fixes
Felix Fietkau [Tue, 18 Apr 2017 07:59:54 +0000 (09:59 +0200)]
ar71xx: fold 641-MIPS-ath79-fix-AR934x-OTP-offsets.patch into the patch that it fixes

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomac80211: Backport AR934x OTP Patch
Chris Blake [Mon, 27 Mar 2017 16:39:07 +0000 (11:39 -0500)]
mac80211: Backport AR934x OTP Patch

Merged upstream in https://patchwork.kernel.org/patch/9572541/, this
patch fixes the OTP offset used by the AR934x and AR955X to properly
enable reading from the OTP.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
7 years agoar71xx: Add OTP support for AR934x
Chris Blake [Mon, 27 Mar 2017 16:38:49 +0000 (11:38 -0500)]
ar71xx: Add OTP support for AR934x

The patch 523-MIPS-ath79-OTP-support only supports the OTP offsets for
AR933x chips, which has changed on newer platforms such as the AR934x.
The follwoing change is to add support for reading the OTP on the
AR934x. Tested on an Aerohive AP-121.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
7 years agotools: host/include/getline.h: Remove
Rosen Penev [Wed, 12 Apr 2017 20:18:49 +0000 (13:18 -0700)]
tools: host/include/getline.h: Remove

Seems to be useful only for old and unsupported operating systems. Removed and adjusted the mtd-utils Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
7 years agokernel: remove out of tree direct-io disable hack
Felix Fietkau [Wed, 12 Apr 2017 07:35:14 +0000 (09:35 +0200)]
kernel: remove out of tree direct-io disable hack

Direct-IO support has to be enabled for the release build anyway, so
this hack is not worth keeping

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoutils/mdadm: Update to 4.0
Daniel Engberg [Fri, 24 Mar 2017 11:17:24 +0000 (12:17 +0100)]
utils/mdadm: Update to 4.0

Update mdadm to 4.0
Remove 000-compile.patch as it's fixed upstream
Refresh patches
Add mdadm.h-Undefine-dprintf-before-redefining.patch
Source: http://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/mdadm/files
Add RAID 0,1 and 10 as depends to make mdadm usable.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agoramips: use the ZBT-WE826 power LED for status indication
Mathias Kresin [Wed, 12 Apr 2017 05:56:40 +0000 (07:56 +0200)]
ramips: use the ZBT-WE826 power LED for status indication

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: add ZBT-WE826 32MB variant
Mathias Kresin [Wed, 12 Apr 2017 05:53:56 +0000 (07:53 +0200)]
ramips: add ZBT-WE826 32MB variant

The ZBT-WG826 is available with 16 or 32 MByte of flash. Split the
device tree source file, rename the currently supported 16 MByte
version and add the 32 MByte variant.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: rename Digineo AC1200 Pro to ZBT-WG3526 32MB
Mathias Kresin [Sat, 1 Apr 2017 08:46:44 +0000 (10:46 +0200)]
ramips: rename Digineo AC1200 Pro to ZBT-WG3526 32MB

The Digineo AC1200 Pro is the 32MB flash variant of the ZBT-WG3526 with
unpopulated/exposed sdhci slot. Rename to board to the OEM/ODM name and
add the sdhci kernel module to use it for multiple clones.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: prepare ZBT-WG3526 for hardware variants
Mathias Kresin [Fri, 7 Apr 2017 21:52:27 +0000 (23:52 +0200)]
ramips: prepare ZBT-WG3526 for hardware variants

The ZBT-WG3526 is available with 16 or 32 MByte of flash. Rename the
current supported 16MByte version to indicate which flash size variant
is supported.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: add support for ZBT-WE1326
Jiawei Wang [Thu, 20 Apr 2017 03:07:26 +0000 (11:07 +0800)]
ramips: add support for ZBT-WE1326

Specification:
- SoC: MT7621AT, MT7603EN and MT7612EN
- Flash: 16 MiB (W25Q128FVSG)
- RAM: 512 MiB (EM6GE16EWXD-12H)
- Ethernet: 1 x WAN (10/100/1000Mbps) and 4 x LAN (10/100/1000 Mbps)
- Others: USB 2.0, micro SD slot, reset button and 8 x LEDs

Issues:
- Two LEDs for 2.4 GHz and 5 GHz Wi-Fi do not work, can't find GPIOs.
- The pwr LED is not GPIO controllable

How to install:
- The original firmware is OpenWrt, so both LuCI or sysupgrade can be used.
- Do not keep settings, for sysupgrade please use the -n option.

Signed-off-by: Jiawei Wang <buaawjw@gmail.com>
7 years agoramips: fix ZyXEL Keenetic Omni/Omni II GPIOs
Alexey Belyaev [Sat, 22 Apr 2017 20:46:23 +0000 (02:46 +0600)]
ramips: fix ZyXEL Keenetic Omni/Omni II GPIOs

Each GPIO bank has only 24 gpios. Use and enable the correct banks for
GPIOs > 24.

Signed-off-by: Alexey Belyaev <spider@spider.vc>
7 years agoramips: fix ZyXEL Keenetic Omni switch config
Alexey Belyaev [Sat, 22 Apr 2017 20:46:23 +0000 (02:46 +0600)]
ramips: fix ZyXEL Keenetic Omni switch config

The wan port is connected to switch port 0. Fix the mediatek,portmap as
well as the default switch config.

Signed-off-by: Alexey Belyaev <spider@spider.vc>
7 years agolantiq: DGN3500: make switch LEDs blink on activity
Kevin Darbyshire-Bryant [Thu, 20 Apr 2017 18:14:57 +0000 (19:14 +0100)]
lantiq: DGN3500: make switch LEDs blink on activity

Make switch port LEDs blink on activity as they do with stock firmware.

The u-boot loader sets suitable values in the LED control register that
unfortunately get blown away by the linux switch driver init.  Restore
that value by using driver 'initvals'.  0x0431 is the led control
register, the value 0x0960. Each nybble represents each LED's mode
(LED3,2,1,0) in this case OFF, 1000LINK+Activity, 100/10LINK+Activity,
OFF.  Only LED1&2 are physically present.

Enabling the blinkenlights exposed the fact that an RRCP packet was
being emitted by the switch on all ports every second.  Further initvals
copied from stock firmware's u-boot driver disabled this 'feature'.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agogeneric: rtl8366rb: add support for initvals from DTS
Kevin Darbyshire-Bryant [Thu, 20 Apr 2017 18:14:35 +0000 (19:14 +0100)]
generic: rtl8366rb: add support for initvals from DTS

Allow per-device initvals in the DTS file for rlt8366rb
switches.

Shamelessly copies 30494598f891fc4436a49eca55fc31d03c087841

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agonetifd: return error status in reload_service
Hans Dedecker [Fri, 21 Apr 2017 09:44:57 +0000 (11:44 +0200)]
netifd: return error status in reload_service

Based on a patch by Alexandru Ardelean.
netifd ubus reload call returns the actual reload error status;
return error status as well in reload_service

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agonetifd: update to git HEAD version
Hans Dedecker [Mon, 24 Apr 2017 11:28:02 +0000 (13:28 +0200)]
netifd: update to git HEAD version

11cb9cf ubus: add interface method to trigger renew event
4375d1b system-linux: allow "throw" route type
5fbd904 netifd: propagate error code on netifd_reload()
6e0acec interface-ip: fix device name for IPv6 link-local DNS server

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agoodhcpd: update to git HEAD version
Hans Dedecker [Mon, 24 Apr 2017 16:39:59 +0000 (18:39 +0200)]
odhcpd: update to git HEAD version

570069d ubus: rework dumping IPv6 and IPv4 leases
4e579c4 dhcpv6-ia: simplify logic to write statefile and dhcpv6 logging

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agoomap: rework image generation and profiles
Alexander Couzens [Sat, 15 Apr 2017 17:00:10 +0000 (19:00 +0200)]
omap: rework image generation and profiles

Migrate to new image generation and
introduce sdcard generation (based on sunxi).
Profile now generated via image/Makefile instead
of profiles/ directory.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agopackage/uboot-omap: add am335x_boneblack
Alexander Couzens [Sun, 16 Apr 2017 17:26:45 +0000 (19:26 +0200)]
package/uboot-omap: add am335x_boneblack

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agopackage/uboot-omap: add default uEnv to boot via mmc card
Alexander Couzens [Wed, 19 Apr 2017 02:48:03 +0000 (04:48 +0200)]
package/uboot-omap: add default uEnv to boot via mmc card

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agopackage/uboot-omap: re-introduce patches dropped by update to v2017.01
Alexander Couzens [Tue, 18 Apr 2017 18:15:59 +0000 (20:15 +0200)]
package/uboot-omap: re-introduce patches dropped by update to v2017.01

The beagleboard doesn't boot with Thumb enabled, but without Thumb the
SPL (first stage bootloader) is too big to fit into SRAM.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agopackage/uboot-omap: install image to STAGING_DIR_IMAGE
Alexander Couzens [Sat, 15 Apr 2017 16:49:57 +0000 (18:49 +0200)]
package/uboot-omap: install image to STAGING_DIR_IMAGE

to use them later by image/Makefile to create full working sdcard images

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agopackage/uboot-omap: assign BUILD_DEVICES most boards
Alexander Couzens [Sat, 15 Apr 2017 16:52:34 +0000 (18:52 +0200)]
package/uboot-omap: assign BUILD_DEVICES most boards

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agoomap: correct CPU_TYPE: omaps are cortext-a8
Alexander Couzens [Tue, 18 Apr 2017 17:58:20 +0000 (19:58 +0200)]
omap: correct CPU_TYPE: omaps are cortext-a8

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agoomap/Kconfig: refresh by oldconfig
Alexander Couzens [Sat, 22 Apr 2017 13:14:00 +0000 (15:14 +0200)]
omap/Kconfig: refresh by oldconfig

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agoomap/Kconfig: add usb options
Alexander Couzens [Sat, 22 Apr 2017 13:13:35 +0000 (15:13 +0200)]
omap/Kconfig: add usb options

including phy and required dma options

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agoomap/Kconfig: enable SMP
Alexander Couzens [Sat, 22 Apr 2017 13:12:13 +0000 (15:12 +0200)]
omap/Kconfig: enable SMP

the pandaboard is a multicore omap

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agoomap/Kconfig: add omap2plus_cpufreq
Alexander Couzens [Sat, 22 Apr 2017 12:58:36 +0000 (14:58 +0200)]
omap/Kconfig: add omap2plus_cpufreq

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
7 years agomac80211: rt2x00: add incomplete support for external PA on MT7620
Daniel Golle [Sun, 23 Apr 2017 23:44:29 +0000 (01:44 +0200)]
mac80211: rt2x00: add incomplete support for external PA on MT7620

Do as the vendor driver does -- however, some devices apparently
patched support for external PA into the driver similar to how it was
done on Rt3352, using EEPROM_NIC_CONF1 rather than EEPROM_NIC_CONF2,
hence we check for both fields. Somehow the vendor driver also no
longer offers the option of only one of the TX paths having an external
PA (which was probably to weird to ever be implemented in practise,
though it doesn't seem like a particularly bad idea to me). Do the same
in rt2x00 and enable support for external PA on both TX paths whenever
it is set for TX0 in EEPROM.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agomac80211: rt2x00: reorder patches and prepare for MT7620 external PA
Daniel Golle [Sun, 23 Apr 2017 23:38:07 +0000 (01:38 +0200)]
mac80211: rt2x00: reorder patches and prepare for MT7620 external PA

Import change to make external PA capability consistent with the
vendor driver instead of having the logic inverted.
While at it, apply patches in the same order as they got merged
upstream.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agomediatek: fix sysupgrade board detection
John Crispin [Mon, 10 Apr 2017 04:45:59 +0000 (06:45 +0200)]
mediatek: fix sysupgrade board detection

boardnames were changed with the recent target update. the sysupgrade board
detection was not updated properly.

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoinclude/image.mk: allow passing a compat string to the NAND image template
John Crispin [Mon, 24 Apr 2017 09:10:39 +0000 (11:10 +0200)]
include/image.mk: allow passing a compat string to the NAND image template

Signed-off-by: John Crispin <john@phrozen.org>
7 years agomediatek: add support for the NAND-ePHY board
John Crispin [Fri, 21 Apr 2017 07:38:52 +0000 (09:38 +0200)]
mediatek: add support for the NAND-ePHY board

This is the same as the NAND board but gmac1 is wired to an external phy.

Signed-off-by: John Crispin <john@phrozen.org>
7 years agomediatek: add DSA multi cpu port support
John Crispin [Mon, 24 Apr 2017 07:21:11 +0000 (09:21 +0200)]
mediatek: add DSA multi cpu port support

Signed-off-by: John Crispin <john@phrozen.org>
7 years agomediatek: fix support for gmac1 using external PHY
John Crispin [Fri, 21 Apr 2017 07:40:01 +0000 (09:40 +0200)]
mediatek: fix support for gmac1 using external PHY

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoipq8064: fix dwc3-of-simple module unloading for Netgear R7500
Thomas Reifferscheid [Sun, 2 Apr 2017 22:34:34 +0000 (00:34 +0200)]
ipq8064: fix dwc3-of-simple module unloading for Netgear R7500

Without patch unloading the dwc3-of-simple module went stuck after
successfully removing hcd.1 during the hcd.0 removal:

root@LEDE:/# rmmod dwc3-of-simple
[   21.391846] xhci-hcd xhci-hcd.1.auto: remove, state 1
[   21.391931] usb usb4: USB disconnect, device number 1
[   21.397038] xhci-hcd xhci-hcd.1.auto: USB bus 4 deregistered
[   21.401111] xhci-hcd xhci-hcd.1.auto: remove, state 1
[   21.406685] usb usb3: USB disconnect, device number 1
[   21.412848] xhci-hcd xhci-hcd.1.auto: USB bus 3 deregistered
[   21.417248] xhci-hcd xhci-hcd.0.auto: remove, state 1
[   21.422521] usb usb2: USB disconnect, device number 1
followed by nothing.

Sometimes a stall CPU was detected, or a kernel panic,
or a reboot occurred after a couple of minutes.

At the same time unloading the dwc3 module followed by dwc3-of-simple
module was working repeatedly.

root@LEDE:/# rmmod dwc3
[   53.827328] xhci-hcd xhci-hcd.1.auto: remove, state 1
[   53.827412] usb usb4: USB disconnect, device number 1
[   53.832630] xhci-hcd xhci-hcd.1.auto: USB bus 4 deregistered
[   53.836452] xhci-hcd xhci-hcd.1.auto: remove, state 1
[   53.842314] usb usb3: USB disconnect, device number 1
[   53.848412] xhci-hcd xhci-hcd.1.auto: USB bus 3 deregistered
[   53.852542] xhci-hcd xhci-hcd.0.auto: remove, state 1
[   53.857882] usb usb2: USB disconnect, device number 1
[   53.863956] xhci-hcd xhci-hcd.0.auto: USB bus 2 deregistered
[   53.867875] xhci-hcd xhci-hcd.0.auto: remove, state 1
[   53.873696] usb usb1: USB disconnect, device number 1
[   53.879742] xhci-hcd xhci-hcd.0.auto: USB bus 1 deregistered
root@LEDE:/# rmmod dwc3-of-simple
root@LEDE:/#

For the non-working case, the code was stuck in a readl() in
http://lxr.free-electrons.com/source/drivers/usb/host/xhci.c#L91
because
http://lxr.free-electrons.com/source/drivers/usb/dwc3/dwc3-of-simple.c#L126
was disabling the wrong clocks when removing hcd.1 (it was disabling
the clock of hcd.0). That's why the readl() went stuck when removing
hcd.0

The patch however addresses the clock assignment from the Netgear R7500
dts file and backs off the previous attempt.

Now unloading and repeated module loading is working just fine.

root@LEDE:/# rmmod dwc3-of-simple
[   24.089679] xhci-hcd xhci-hcd.1.auto: remove, state 1
[   24.089765] usb usb4: USB disconnect, device number 1
[   24.094856] xhci-hcd xhci-hcd.1.auto: USB bus 4 deregistered
[   24.098963] xhci-hcd xhci-hcd.1.auto: remove, state 1
[   24.104522] usb usb3: USB disconnect, device number 1
[   24.111194] xhci-hcd xhci-hcd.1.auto: USB bus 3 deregistered
[   24.115086] xhci-hcd xhci-hcd.0.auto: remove, state 1
[   24.120396] usb usb2: USB disconnect, device number 1
[   24.126503] xhci-hcd xhci-hcd.0.auto: USB bus 2 deregistered
[   24.130347] xhci-hcd xhci-hcd.0.auto: remove, state 1
[   24.135948] usb usb1: USB disconnect, device number 1
[   24.142085] xhci-hcd xhci-hcd.0.auto: USB bus 1 deregistered
root@LEDE:/#

Fixes: dwc3-of-simple module unloading for Netgear R7500
Signed-off-by: Thomas Reifferscheid <thomas@reifferscheid.org>
7 years agoipq8064: Fix dwc3 module unloading
Thomas Reifferscheid [Fri, 7 Apr 2017 10:25:10 +0000 (12:25 +0200)]
ipq8064: Fix dwc3 module unloading

The patch follows the qualcomm code comments setting
SSUSB_CTRL_TEST_POWERDOWN to 0x1 and is testing and clearing the
bit during USB superspeed PHY init. According to Andy Gross it
needs to be BIT(26).

Signed-off-by: Thomas Reifferscheid <thomas@reifferscheid.org>
Acked-by: Andy Gross <andy.gross@linaro.org>
7 years agokernel: use skb_cow_head() to deal with cloned skbs
Álvaro Fernández Rojas [Sun, 23 Apr 2017 11:48:05 +0000 (13:48 +0200)]
kernel: use skb_cow_head() to deal with cloned skbs

We need to ensure there is enough headroom to push extra header,
but we also need to check if we are allowed to change headers.

skb_cow_head() is the proper helper to deal with this.

Fixes Ethernet<->WiFi bridge for Raspberry Pi and probably other devices.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agoscripts/qemustart: initial version
Yousong Zhou [Mon, 17 Apr 2017 09:09:19 +0000 (17:09 +0800)]
scripts/qemustart: initial version

The script can be used to quickly spin up QEMU virtual machines with lan
and wan network.  Please read the initial part of the script for
instructions about how to configure host machine

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoarmvirt: merge arm64 as subtarget 64
Yousong Zhou [Tue, 18 Apr 2017 12:59:52 +0000 (20:59 +0800)]
armvirt: merge arm64 as subtarget 64

Original armvirt target is now subtarget 32.  Other than that the built
result should remain the same as before

Besides old features already available with arm64, the new armvirt/64
subtarget will also have those features originally enabled for
armvirt/32 with commit 44ecfc2 ("armvirt: new target")
 - pl011, uart
 - pl031, rtc
 - pl061, gpio
 - pci-host-generic
 - virtio_{mmio,pci,net,blk,scsi,9p,console,balloon}
 - smp with NR_CPUS=4
 - cpu-hotplug
 - ext4
 - DEBUG_BUGVERBOSE for debug purposes

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agobuild: fix aarch64 default cpu selection
Yousong Zhou [Wed, 19 Apr 2017 09:34:18 +0000 (17:34 +0800)]
build: fix aarch64 default cpu selection

Not sure since when the issue emerged, but according to the current doc of gcc
and as, armv8-a is intended as argument of -march

The change will affect at the moment arm64 and layerscape/64b

Below is the relevant error messages when building toolchain

    Assembler messages:
    Error: unknown cpu `armv8-a'
    Error: unrecognized option -mcpu=armv8-a
    /home/yousong/git-repo/lede-project/lede/build_dir/toolchain-aarch64_armv8-a_gcc-5.4.0_musl/gcc-5.4.0/libgcc/libgcc2.c:1:0: error: unknown value 'armv8-a' for -mcpu

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
7 years agoiptables: fix wrong depends for nftables support (FS#707)
Ansuel Smith [Sat, 22 Apr 2017 17:57:09 +0000 (19:57 +0200)]
iptables: fix wrong depends for nftables support (FS#707)

The dep for the nftables support was wrong, if someone actually enable
that option gain a compilation error. This fix this problem.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
7 years agoar71xx: fix minor syntax error in /lib/upgrade/platform.sh
Matthias Schiffer [Sat, 22 Apr 2017 16:56:25 +0000 (18:56 +0200)]
ar71xx: fix minor syntax error in /lib/upgrade/platform.sh

Fix a '==' that should be a '=' in a test condition. Busybox fortunately
doesn't care.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years agoramips: update DEVICE_PACKAGES for Ubiquiti EdgeRouter X
Matthias Schiffer [Sat, 22 Apr 2017 16:54:07 +0000 (18:54 +0200)]
ramips: update DEVICE_PACKAGES for Ubiquiti EdgeRouter X

Fixes removal of unneeded kernel modules with per-device rootfs.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years agoramips: add former board names to PSG1218 variants
Daniel Golle [Fri, 21 Apr 2017 12:51:58 +0000 (14:51 +0200)]
ramips: add former board names to PSG1218 variants

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agobusybox: fix build of nslookup_lede applet without IPv6 (#728)
Jo-Philipp Wich [Fri, 21 Apr 2017 11:18:16 +0000 (13:18 +0200)]
busybox: fix build of nslookup_lede applet without IPv6 (#728)

Protect any IPv6 related with appropriate guards to fix compilation with
disabled IPv6 support in Busybox.

Fixes #728.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agolantiq: improve DGN3500 LED definitions
Kevin Darbyshire-Bryant [Mon, 17 Apr 2017 15:06:40 +0000 (16:06 +0100)]
lantiq: improve DGN3500 LED definitions

Add red:internet led on gpio 30 previously claimed as missing.
Wifi led was claimed as blue however there are no blue leds on the
board at all.  Actually there are two wifi leds, green & amber so add
definitions for those.  Make the newly discovered green wifi led gpio
14 the default.

There is no amber power led on this board. The mention of the amber
power led in the manual means power red and power green at the same
time.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
[removed unnecessary aliases, add migration script]
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: dont replace the board name
Mathias Kresin [Fri, 7 Apr 2017 22:34:48 +0000 (00:34 +0200)]
ramips: dont replace the board name

Use fixed led names and add each board variant instead of manipulating
the board name.

It makes the ramips board name function less different to the one used
in other targets and allows to merge them with a common function.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: add former used board names to metadata
Mathias Kresin [Sat, 1 Apr 2017 10:27:46 +0000 (12:27 +0200)]
ramips: add former used board names to metadata

We need to keep the former used (unmodified) boardname in the metadata.
Otherwise an upgrade from an board using the old boardname will be
refused.

Fixes: a75ce960ac1b ("ramips: use different board names for variants")
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: rename PSG1218 to match label
Daniel Golle [Fri, 21 Apr 2017 00:47:44 +0000 (02:47 +0200)]
ramips: rename PSG1218 to match label

Fix previous commit to be less ambigous:
PSG1218 rev.A = 5 ports, external PA, heatsinks
PSG1218 rev.B = 4 ports, internal PA, no heatsinks

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agoramips: split Phicomm PSG1218 and PSG1218K2C
Daniel Golle [Thu, 20 Apr 2017 22:53:03 +0000 (00:53 +0200)]
ramips: split Phicomm PSG1218 and PSG1218K2C

PSG1218 got only 4 Ethernet ports and WAN on port 3 while
PSG1218K2C got 5 Ethernet ports and WAN on port 4
Switch to use kmod-kt76x2 instead of kmod-mt76 for both devices while
at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agobcm53xx: enable Northstar thermal driver
Rafał Miłecki [Thu, 20 Apr 2017 20:27:19 +0000 (22:27 +0200)]
bcm53xx: enable Northstar thermal driver

It allows monitoring CPU temp and will shutdown system on critical
value.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agobcm53xx: backport DT patches for serial, thermal and MDIO
Rafał Miłecki [Thu, 20 Apr 2017 20:15:09 +0000 (22:15 +0200)]
bcm53xx: backport DT patches for serial, thermal and MDIO

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agogeneric: mtd: backport mx25u25635f stateless 4b support
Mathias Kresin [Tue, 11 Apr 2017 17:46:16 +0000 (19:46 +0200)]
generic: mtd: backport mx25u25635f stateless 4b support

Use the stateless 4-byte op codes for this flash chip to fix reboot
hangs on SoCs expecting the flash chip in 3-byte mode.

Fixes: FS#179
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agomac80211: rt2800: fix mt7620 E2 channel registers
Tomislav Požega [Fri, 14 Apr 2017 18:59:47 +0000 (20:59 +0200)]
mac80211: rt2800: fix mt7620 E2 channel registers

update RF register 47 and 54 values according to vendor driver

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[daniel@makrotopia.org: moved changes into a separate patch]

7 years agomac80211: rt2800: fix mt7620 vco calibration registers
Tomislav Požega [Sun, 16 Apr 2017 12:14:42 +0000 (14:14 +0200)]
mac80211: rt2800: fix mt7620 vco calibration registers

Use register values from init LNA function instead of the ones from
restore LNA function. Apply register values based on rx path
configuration.

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[daniel@makrotopia.org: moved changes into a separate patch]

7 years agomac80211: fix kconfig recursive dependency warning
Felix Fietkau [Tue, 18 Apr 2017 07:42:04 +0000 (09:42 +0200)]
mac80211: fix kconfig recursive dependency warning

Make brcmfmac depend on !TARGET_uml.
Technically, brcmfmac could be built for uml because only SDIO support
won't work on that target. However, selectively avoiding the dependency
propagation of !TARGET_uml from kmod-mmc to avoid including a reference
to BRCMFMAC_SDIO doesn't work.

In practice, brcmfmac is completely useless on uml, so let's just
disable it there.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomac80211: rt2x00: fix MT7620 LNA gain and VCO-after-ALC
Daniel Golle [Mon, 17 Apr 2017 19:38:32 +0000 (21:38 +0200)]
mac80211: rt2x00: fix MT7620 LNA gain and VCO-after-ALC

This should fix issues with bad RX as well as AP not coming up and/or
scanning failing.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agodnsmasq: fix uninitialized varname in init-script
Bastian Bittorf [Sun, 16 Apr 2017 16:21:49 +0000 (18:21 +0200)]
dnsmasq: fix uninitialized varname in init-script

minor/cosmetic: fixes the following misleading message:

root@box:~ /etc/init.d/dnsmasq restart
sh: out of range

Signed-off-by: Bastian Bittorf <bb@npl.de>
7 years agoRevert "mvebu: remove linux 4.4 support"
Felix Fietkau [Mon, 17 Apr 2017 06:43:54 +0000 (08:43 +0200)]
Revert "mvebu: remove linux 4.4 support"

This reverts commit 51397d7d95d9f5e210a5557f65de1fa21e6f5921.
There are some unresolved random crashes on WRT1900AC v1 that still need
to be sorted out

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: update kernel 4.4 to 4.4.61
Jo-Philipp Wich [Sat, 15 Apr 2017 15:00:49 +0000 (17:00 +0200)]
kernel: update kernel 4.4 to 4.4.61

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agobrcm2708: disable CONFIG_BCM2835_THERMAL by default
Rafał Miłecki [Sat, 15 Apr 2017 06:21:50 +0000 (08:21 +0200)]
brcm2708: disable CONFIG_BCM2835_THERMAL by default

This fixes:
  Thermal sensors on bcm2835 SoC (BCM2835_THERMAL) [N/m/y/?] (NEW) aborted!

This symbol depends on ARCH_BCM2835 so it should be OK to disable it at
brcm2708 target only.

Fixes: 7d32caa61fb0 ("brcm2708: backport upstream sdhost controller driver")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agokernel: backport Broadcom thermal drivers
Rafał Miłecki [Fri, 14 Apr 2017 16:18:36 +0000 (18:18 +0200)]
kernel: backport Broadcom thermal drivers

This includes driver for Northstar and for Raspberry Pi.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agoramips: really drop the rt-n56u factory image
Mathias Kresin [Thu, 13 Apr 2017 17:20:07 +0000 (19:20 +0200)]
ramips: really drop the rt-n56u factory image

Remove the stale reference to the factory image.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoar71xx: fix ath9k default LED changes fallout
Mathias Kresin [Wed, 12 Apr 2017 06:45:19 +0000 (08:45 +0200)]
ar71xx: fix ath9k default LED changes fallout

Since 192f0a3db859 ("ath9k: unset the default LED pin if used by
platform leds") the default ath9k wireless LED is not set as soon as
any pin of the ath ath9k gpio controller is used.

All touched boards have leds defined which are using the gpio pins
exposed by the ath9k driver but rely on a default set wireless led
trigger.

Add the wireless leds were missing and setup the wireless phy trigger
in userspace.

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: fix Netgear R6220 package selection
Mathias Kresin [Sun, 9 Apr 2017 07:58:51 +0000 (09:58 +0200)]
ramips: fix Netgear R6220 package selection

The Netgear R6220 requires the kmod-usb3 package and misses
kmod-usb-ledtrig-usbport package to setup the configured usb led
trigger.

Drop the already target selected kmod-mt76.

Fixes: FS#686
Fixes: 38bee61dab02 ("ramips: add support for Netgear R6220")
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: add RP-N53 pcie wireless eeprom
Mathias Kresin [Sun, 9 Apr 2017 07:14:52 +0000 (09:14 +0200)]
ramips: add RP-N53 pcie wireless eeprom

Fix the PCIe 5GHz wireless by using the on flash eeprom/caldata.
Disable the 2.4GHz band as this band has no antennas attached but is
enabled in the eeprom/caldata.

Fixes: FS#691
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: fix WHR-600D eeprom dt property
Mathias Kresin [Sun, 9 Apr 2017 07:12:55 +0000 (09:12 +0200)]
ramips: fix WHR-600D eeprom dt property

Fix the PCIe 5GHz wireless by using the ralink mtd-eeprom property as
this board have a RT5592 and uses the rt2x00 driver. The mediathek
device tree bindings do not work here.

Fixes: FS#691
Fixes: d8dd207ea6f2 ("ramips: use the ralink,mtd-eeprom device tree property")
Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: drop rt-n56u factory image
Mathias Kresin [Mon, 27 Mar 2017 19:47:05 +0000 (21:47 +0200)]
ramips: drop rt-n56u factory image

The factory image has an uImage header covering the entire image and
not only the kernel. The original uImage header which covers only the
kernel is appended to the end of the image.

During LEDE boot the uImage rootfs splitter skips the whole filesystem,
can't find a valid filesystem magic and panics.

The last known working version was OpenWrt 14.07, which simply kept on
searching for an uImage header if the first found didn't resulted into
a working rootfs. This behaviour is kind of error prone since it could
produce false positives.

Since the sysupgrade image works fine in combination with the tftp
recovery for doing the initial installation of LEDE, simply drop the
factory image.

Related: FS#462

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agobusybox: Move libresolv detection to LEDE Makefile
Florian Fainelli [Wed, 12 Apr 2017 16:02:30 +0000 (09:02 -0700)]
busybox: Move libresolv detection to LEDE Makefile

Since the LEDE nslookup applet is already specific to LEDE, move the
libresolv detection into the busybox Makefile that LEDE uses.

This fixes builds with external toolchains that don't automatically
search for headers and/or libraries without being told so.

Fixes: de5b8e5d2fe1 ("busybox: add musl compatible nslookup replacement")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agomac80211: add rt2x00 debug symbols to PKG_CONFIG_DEPENDS
Jonas Gorski [Wed, 12 Apr 2017 10:44:12 +0000 (12:44 +0200)]
mac80211: add rt2x00 debug symbols to PKG_CONFIG_DEPENDS

Chaning these symbols require a recompilation of the modules, so make the
system aware of it.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
7 years agomac80211: manually apply dependencies to prevent a recoursive one
Jonas Gorski [Wed, 12 Apr 2017 10:44:12 +0000 (12:44 +0200)]
mac80211: manually apply dependencies to prevent a recoursive one

Apply the !UML dependency to both the symbol and the DEPENDS so there is
no recursive dependency anymore.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>