aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* archs38: fix parallel build issueFelix Fietkau2017-01-111-7/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix RB4xx CPLD SPI device mode setupFelix Fietkau2017-01-111-1/+1
| | | | | | | | Commit af79fdbe4af3 changed the code to use tx_nbits for dual SPI tx transfers, however the SPI stack only allows this when the device mode includes the relevant bit as well Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix RB4xx SPI driver mode bitsFelix Fietkau2017-01-111-1/+1
| | | | | | Accept SPI_TX_DUAL in device mode to fix the CPLD driver Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: update mwlwifi driver to version 10.3.2.0-20170110Kabuli Chana2017-01-111-3/+3
| | | | | | | | | | Improves automatic channel section support. Tested on AC (mamba) and ACM (rango). Signed-off-by: Kabuli Chana <newtownBuild@gmail.com> [Jo-Philipp Wich: reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: backport a MIPS SMP icache flush fixFelix Fietkau2017-01-111-0/+38
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update bcm47xxpart failsafe partition patchesRafał Miłecki2017-01-115-37/+49
| | | | | | V2 using helper function was sent for upstream kernel Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* wpa_supplicant: Fix mesh encryption configSujith Manoharan2017-01-111-1/+4
| | | | | | | | | | | | | | | wpa_supplicant allows only SAE as the key management type for mesh mode. The recent key_mgmt rework unconditionally added WPA-PSK - this breaks interface bringup and wpa_s throws this error message: Line 10: key_mgmt for mesh network should be open or SAE Line 10: failed to parse network block. Failed to read or parse configuration '/var/run/wpa_supplicant-wlan0.conf Fix this by making sure that only SAE is used for mesh. Signed-off-by: Sujith Manoharan <m.sujith@gmail.com>
* gettext-full: avoid using iconv for host buildsJo-Philipp Wich2017-01-111-1/+4
| | | | | | | | | | | The gettext-full host build might pick up iconv-stub host build headers during the build, leading to stray linker errors with unresolved references to libiconv_open(), libiconv() and libiconv_close(). Since we're not needing iconv support on the host, pass the appropriate cache variables to configure to prevent detection and linking of iconv. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: cmake: link librt if needed (FS#381)Jo-Philipp Wich2017-01-112-3/+33
| | | | | | | | | | Patch cmakes cmcurl component to unconditionally link librt when we discover a clock_gettime() symbol in -lrt. This is required to sucessfully link LibreSSL's libcrypto which might or might not reqauire librt. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: mkimage: pass crypto libraries through HOST_LOADLIBES (FS#381)Jo-Philipp Wich2017-01-111-2/+2
| | | | | | | | Since linker argument order is significant on modern host compilers, pass the required libcrypto libraries through the HOST_LOADLIBES variable in order to ensure proper order of the final linker command line. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: libressl: always build as PICMatthias Schiffer2017-01-101-0/+1
| | | | | | | | | Fixes link errors for host packages like ruby like the following: /usr/bin/ld: .../staging_dir/host/lib/libcrypto.a(libcrypto_la-md5_dgst.o): relocation R_X86_64_PC32 against symbol `memcpy@@GLIBC_2.14' can not be used when making a shared object; recompile with -fPIC Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* package: replace $(STAGING_DIR)/host with $(STAGING_DIR_HOSTPKG)Matthias Schiffer2017-01-108-22/+22
| | | | | | | | | Cleanup to prepare for changing STAGING_DIR_HOSTPKG. The actual change of STAGING_DIR_HOSTPKG (i.e., moving the host packages back into a common, not target-specific directory) will be done after the first LEDE release, but the cleanup will also be useful for projects like Gluon. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* kernel: add missing config symbolsJo-Philipp Wich2017-01-101-0/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: add missing config symbolFelix Fietkau2017-01-101-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: pending brcmfmac patches cleaning channels managementRafał Miłecki2017-01-106-2/+257
| | | | | | They prepare brcmfmac for using wiphy_read_of_freq_limits. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: rename b43 patches to make more spaceRafał Miłecki2017-01-106-0/+0
| | | | | | Just 6 patches were using 80*, 81*, 82* and 84* prefixes. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* build: scan.mk: consider KernelPackage pattern as wellJo-Philipp Wich2017-01-101-1/+1
| | | | | | | | The removal of the ".+Package" pattern in scan.mk also caused the build system to skip over Makefiles defining only kmods. Adjust the grep pattern to consider packages with "call KernelPackage" signatures as well. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* procd: update mirror hashJohn Crispin2017-01-101-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: remove gpiommc patches / driverFelix Fietkau2017-01-109-2874/+0
| | | | | | | This code was marked as incompatible to Linux 4.4 well over a year ago and nobody cared, and now it's breaking builds. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add pending bcm47xxpart support for failsafe TRX partitionRafał Miłecki2017-01-105-52/+316
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update spi-nor.h include fix with upstream accepted versionRafał Miłecki2017-01-101-2/+3
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: rename bcm47xxpart patches to fit more of themRafał Miłecki2017-01-102-0/+0
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* build: scan.mk: remove overlay broad grep patternJo-Philipp Wich2017-01-101-1/+1
| | | | | | | | | | | | | | | | | Commit af0b91c "allow scan.mk to find python packages introduced in [8639]" added some special casing to scan.mk to accomodate some nonstandard python packages. Nowadays this pattern is not needed anymore and produces false positives when using the LEDE source repository as feed within the SDK since the metadata scanning wrongly picks up target/imagebuilder/Makefile as package, leading to an "ERROR: please fix feeds/base/target/imagebuilder/Makefile" message. Remove the now uneeded pattern to fix such stray errors during metadata scanning. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: remove DEVTMPFS platform overridesFelix Fietkau2017-01-104-5/+0
| | | | | | Those options are handled via top-level menuconfig instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove DEVMEM/DEVKMEM platform overridesFelix Fietkau2017-01-107-7/+0
| | | | | | Those options are handled via top-level menuconfig instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath10k-firmware: update board data for qca9984Pavel Kubelun2017-01-101-1/+12
| | | | | | | | | | | Current board-2.bin file for qca9984 in Kvalo's repo is from branch 10.4-3.2, while board-2.bin file in code-aurora repo is newer and corresponds to the branch 10.4-3.3, the same as recently updated firmware. Considering that it's better to have all parts from the same branch we are updating board-2.bin as well. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* kernel: drop kmod-i2c-ibm-iicFelix Fietkau2017-01-101-15/+0
| | | | | | | If any of the ppc4xx targets are restored, this should be built into the kernel instead. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove omap24xx specific kernel module packagesFelix Fietkau2017-01-103-88/+0
| | | | | | | If the target is ever restored, those drivers should be built into the kernel instead. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* omap: build various core drivers into the kernel instead of packaging themFelix Fietkau2017-01-106-175/+54
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing config symbolFelix Fietkau2017-01-101-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: simplify dependencies for kmod-via-velocityFelix Fietkau2017-01-101-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: drop crypto-hw-ppc4xxFelix Fietkau2017-01-101-18/+0
| | | | | | | If any of the ppc4xx targets are restored, this should be built into the kernel instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* opkg: drop S/MIME supportFelix Fietkau2017-01-103-126/+8
| | | | | | | | | | It has never been used by default (due to being too bloated), and it is properly replaced by usign (which has been the default for a long time now). Remove this feature to simplify the build system Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mpc85xx: build i2c support into the kernel instead of packaging it separatelyFelix Fietkau2017-01-102-15/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mpc85xx: build usb support into the kernel instead of packaging it separatelyFelix Fietkau2017-01-104-27/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove kmod-gianfar, it is already built into the kernelFelix Fietkau2017-01-102-33/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove kmod-ata-imx, it is already built into the kernelFelix Fietkau2017-01-101-19/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lldpd: take over maintainershipStijn Tintel2017-01-101-1/+1
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Jo-Philipp Wich <jo@mein.io>
* lldpd: add Net-SNMP AgentX supportStijn Tintel2017-01-104-2/+15
| | | | | | | Enabling this makes it possible to query LLDP neighbors via SNMP. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: drop references to madwifiStijn Tintel2017-01-101-3/+3
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Felix Fietkau <nbd@nbd.name>
* iwinfo: drop references to madwifiStijn Tintel2017-01-101-3/+1
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Jo-Philipp Wich <jo@mein.io>
* px5g-standalone: provide px5g via PROVIDESStijn Tintel2017-01-101-0/+1
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Jo-Philipp Wich <jo@mein.io>
* ppc44x: mark as brokenFelix Fietkau2017-01-101-1/+1
| | | | | | | This target has consistently failed builds for a long time and it does not look like it has any users left, nor any maintainers. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing config symbolFelix Fietkau2017-01-103-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: fix HOST_CONFIGURE_VARS placementJo-Philipp Wich2017-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of passing HOST_CONFIGURE_VARS as arguments to the configure script, pass it as environment variables which brings the logic in line with the behaviour of package-defaults.mk. The change is needed since passing environment variables as configure parameters only works with GNU autoconf which evaluates command line arguments looking like variable assignments. Doing the same with non-autoconf configure scripts is not guaranteed to work since such scripts might terminate due to unknown argument errors. One example case is the cmake configure script which bails out when called as "./configure LDFLAGS=..." but not when called as "LDFLAGS=... ./configure". Also change the SHELL override to CONFIG_SHELL in the default HOST_CONFIGURE_VARS as the former is not properly propagated through the various GNU configure invocations since it gets lost when configure re- executes itself. A prior attempt to change the variable placement had to be reverted due to the missing SHELL -> CONFIG_SHELL change, leading to misgenerated libtool executables in various packages. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mvebu: Fix up some leds on this seriesKabuli Chana2017-01-102-5/+5
| | | | | | correct ports, fix power led on rango, tested mamba,shelby,rango Signed-off-by: Kabuli Chana <newtownBuild@gmail.com>
* build: rework library bundlingJo-Philipp Wich2017-01-103-31/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rework the bundle-libraries.sh implementation to use a more robust approach for executing host binaries through the shipped ELF loader and libraries. The previous approach relied on symlinks pointing to a wrapper script which caused various issues, especially with multicall binaries as the original argv[0] name was not preserved through the ld.so invocation. Another down- side was the fact that the actual binaries got moved into another directory which caused executables to fail looking up resources with paths relative to the executable location. The new library wrapper implements the following improvements: - Instead of symlinks pointing to a common wrapper, each ELF executable is now replaced by a unqiue shell script which retains the original program name getting called - Instead of letting ld.so invoke the ELF executable directly, launch the final ELF binary through a helper program which fixes up the argv[0] argument for the target program - Support sharing a common location for the bundled libraries instead of having one copy in each directory containing wrapped binaries Finally modify the SDK build to wrap the staging_dir and toolchain binaries which allows to use the SDK on systems with a different glibc version. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mtd-utils: mark as nonsharedJo-Philipp Wich2017-01-101-0/+2
| | | | | | | | Since mtd-utils embeds ubi-utils and ubi-utils depends on @NAND_SUPPORT, we cannot share this package among targets as the SDK processing the package is not guaranteed to claim NAND_SUPPORT. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: move the gateworks system controller driver to an out-of-tree packageFelix Fietkau2017-01-107-1032/+339
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mpc85xx: enable the crypto acceleration driver in the kernel config instead ↵Felix Fietkau2017-01-102-27/+23
| | | | | | of packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>