aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* rules.mk: export STAGING_DIR_HOSTPKGMatthias Schiffer2017-01-191-1/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* build: extend CONFIG_AUTOREMOVE to tools/Felix Fietkau2017-01-183-0/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove separate /install step for host buildsFelix Fietkau2017-01-184-67/+68
| | | | | | Reduces the number of recursive make invocations Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add support for automatically removing build dir contents during buildFelix Fietkau2017-01-184-3/+32
| | | | | | | | | This is used to save space on buildbot instances. If any part of a package needs to be rebuild, the whole package is rebuilt from scratch. Stamp files are preserved to allow dependency checks to work Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: stage bin/ packages inside PKG_BUILD_DIRFelix Fietkau2017-01-181-2/+9
| | | | | | | | | This makes the build slightly more efficient by avoiding the need to re-stage packages on every full build run. It is also necessary for the upcoming CONFIG_AUTOREMOVE feature Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: stage unstripped packages inside PKG_BUILD_DIRFelix Fietkau2017-01-182-10/+14
| | | | | | | | | This makes the build slightly more efficient by avoiding the need to re-stage packages on every full build run. It is also necessary for the upcoming CONFIG_AUTOREMOVE feature Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: write ABI_VERSION file when staging the packageFelix Fietkau2017-01-181-7/+1
| | | | | | | The make target does not rewrite the file if the contents didn't change. This causes make to always consider the target old. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: introduce extra targets that contain only proper dependenciesFelix Fietkau2017-01-185-15/+23
| | | | | | This can be used to check if targets like prepare or compile are up to date Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: define common subdir targets in rules.mkFelix Fietkau2017-01-184-18/+15
| | | | | | Reduce build system clutter and enable further rework Signed-off-by: Felix Fietkau <nbd@nbd.name>
* git-kernel: $(SUBDIR) should always be $(LINUX_VERSION)Mirko Vogt2017-01-181-1/+1
| | | | | | | | | | | | | | | | | | Before SUBDIR was set to $(PATCHVER) which may or may not include the minor version number of the linux kernel version. Usually it doesn't. So the git-clone'd linux kernel was packed without the minor version number taken into account, which broke further processing, as it expected the extracted dir being named linux-$(LINUX_VERSION) (=with minor version) rather than linux-$(PATCHVER) (=without minor version). Changing SUBDIR to $(LINUX_VERSION) creates consistent behaviour here. Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
* build: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common ↵Matthias Schiffer2017-01-186-10/+10
| | | | | | | | | | | | | directory for all targets Using a single host package staging dir (and build dir) significantly speeds up builds when multiple targets are built in succession, especially for large host packages like NodeJS. $(STAGING_DIR)/host is kept in addition to $(STAGING_DIR_HOSTPKG) in most places; it is still used as destination for host files in Build/InstallDev. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* base-files: add /etc/iproute2/rt_protosHans Dedecker2017-01-182-1/+20
| | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* ramips: add support for Netgear WN3000RPv3Thibaut VARENE2017-01-187-2/+163
| | | | | | | | | | | | | | | | | | | | This patch adds support for the Netgear WN3000RPv3 http://www.netgear.com/support/product/wn3000rpv3.aspx Specifications: - SoC: MediaTek MT7620A (580MHz, ramips) - RAM: 32MB DDR - Storage: 8MB NOR SPI flash - Wireless: builtin MT7620A, 2x2:2 with u.FL connectors - Ethernet: 1x100M - Serial: JP1 header, 57600-8N1 - Stock firmware based on OpenWRT Kamikaze Like the EX2700, the bootloader expects a secondary image signature, see https://forum.openwrt.org/viewtopic.php?pid=312577#p312577 This is why the same fakeroot image is used for the WN3000 Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ar71xx: mark soft_config mtd part as writeable for RB-941-2nDThibaut VARENE2017-01-181-1/+0
| | | | | | | | | The soft_config partition must be writeable for rbcfg to be able to enact changes to the routerboot configuration. The read-only flag was a mistake in the initial patch. Removing it brings mach-rb941.c in line with all other RB platforms. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ipq806x: Fix wireless support for Netgear Nighthawk X4S D7800Zhang Jingye2017-01-182-11/+15
| | | | | | | | | | D7800 has a simular hardware to R7800 and uses dual QCA9980 for both 2.4GHz and 5GHz band. However there is no proper initialization for them, which causes a kernel panic due to failed firmware loading. This patch adds d7800 to ath10k caldata extraction list. I can get two functional wireless bands after making change to it. Signed-off-by: Zhang Jingye <934526987@qq.com>
* ramips: fix mac address of miwifi-miniBangLang Huang2017-01-182-1/+5
| | | | | | | For the miwifi-mini, the offset of ethernet mac should be 0x28 which you can easyily dump from 'Factory' partition. Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* tools/qemu: use default host configure rule ; set appropriate vars & argsAlexandru Ardelean2017-01-181-9/+7
| | | | | | | | | | | Admittedly, this is my own OCD wanting to get rid of this. Because I tried (a while back to upgrade QEMU to a newer version), and (during that attempt) I tried to get rid of this. Tested on Linux & Mac. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* ramips: simplify EX2700 network configJoseph C. Lehner2017-01-181-2/+2
| | | | | | Don't create a vlan for the Netgear EX2700's only Ethernet port. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: Add back sdhci-mt7620 driver to default configRosen Penev2017-01-181-4/+4
| | | | | | The driver no longer causes kernel panics and CPU hangs. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* bcm53xx: use accepted BCM5301X patches for R8000 and Luxul devicesRafał Miłecki2017-01-183-0/+9
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: move (& update) upstream accepted brcmfmac patchesRafał Miłecki2017-01-185-0/+3
| | | | | | These 3 patches are now in wireless-drivers-next tree. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* sdk: do not strip static librariesJo-Philipp Wich2017-01-181-1/+1
| | | | | | | | | | | | | Do not strip static libraries shipped with the SDK in order to preserve the archive index. If we strip the index of the shipped libraries, host programs will fail to link these libraries with errors like: libssl.a: error adding symbols: Archive has no index; run ranlib to add one The error was found while investigating a Python host build failure within the SDK environment. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* netifd: update to git HEAD versionHans Dedecker2017-01-171-2/+2
| | | | | | a057f6e device: fix DEV_OPT_SENDREDIRECTS definition Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* build: properly pass CPP and CXX flags in HOST_MAKE_VARSJo-Philipp Wich2017-01-171-1/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* build: introduce default HOST_MAKE_VARS for host-buildsAlexandru Ardelean2017-01-171-1/+7
| | | | | | Inspired/adapted from `package-defaults.mk` MAKE_VARS. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* tools/cmake: remove HOST_CONFIGURE_CMD and re-distribute the args & varsAlexandru Ardelean2017-01-161-5/+2
| | | | | | | | | | The final semantic is the same, but this is a bit more correct. Build tested on Windows 10 (yes, there is some Ubuntu mode for Windows 10, and I've been also building LEDE on it for a few weeks). Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* x86: add kernel module for sp5100_tco watchdogChris Blake2017-01-161-0/+15
| | | | | | | | | | | This change adds the sp5100_tco driver as a kernel module for the x86 target. Specifically, this can be used by the PCEngines APU2/APU3. The reason for having this as a kernel module is to allow users to load/unload it on demand, as the I2C interface on the APU2/APU3 will not work while this module is loaded. More info can be found on GitHub at https://github.com/riptidewave93/LEDE-APU2/pull/5#issuecomment-255667736 Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* x86: Add sp5100_tco AMD patchesChris Blake2017-01-164-0/+217
| | | | | | | | | | | | | | This adds the following patches to the x86 target: sp5100_tco: Add AMD Mullins platform support sp5100_tco: Add AMD Carrizo platform support sp5100_tco: fix the device check for SB800 and later chipsets watchdog: sp5100_tco: properly check for new register layouts With these added, the sp5100_tco driver can then be used on newer AMD platforms, such as the PCEngines APU2/APU3 boards. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* x86: remove the xen_domu subtargetFelix Fietkau2017-01-166-135/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86/generic: add xen DomU supportFelix Fietkau2017-01-163-4/+67
| | | | | | Copy the relevant config options from the xen_domu subtarget Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix up the kernel config for the mikrotik subtargetFelix Fietkau2017-01-161-0/+64
| | | | | | Limit enabled devices to routerboards, disable all other devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix network config for Mikrotik RB411UCezary Jackiewicz2017-01-161-0/+1
| | | | | | | Mikrotik RB411U has only one ethernet port - eth0. This patch allows to create correct config with one lan section. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ar71xx: add support for RB-941-2nDThibaut VARENE2017-01-1611-4/+243
| | | | | | | | | | | | | | | | Add full support for Mikrotik RB-941-2nD (hAP lite) Original patch by Sergey Sergeev <adron@yapic.net> and more information is available here: https://wiki.openwrt.org/toh/mikrotik/rb941_2nd I updated and adapted the patch to apply cleanly to LEDE trunk and added proper numbering for the switch ports (matching case labels). Tested working on actual hardware with the information provided in the above webpage. Sysupgrade works. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove yaffs2 support, it is no longer neededFelix Fietkau2017-01-1656-17333/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* adm5120: mark the rb1xx subtarget as brokenFelix Fietkau2017-01-161-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: convert mikrotik routerboard support to UBIFelix Fietkau2017-01-1613-114/+80
| | | | | | | | | | Remove the wget2nand script, drop the need for manual installation, use sysupgrade instead. There are now two different NAND images, one for 64 MiB flashes, the other for >= 128 MiB Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: create a proper default profile for the mikrotik subtarget, drop ↵Felix Fietkau2017-01-162-23/+6
| | | | | | other profiles Signed-off-by: Felix Fietkau <nbd@nbd.name>
* musl: update musl to 1.1.16+ and switch to download from gitChristian Lamparter2017-01-1631-1595/+7
| | | | | | | | | | | | | | | | | | | | | This patch updates musl to 1.1.16+ [0] and removes all the backported patches. This is a major release and tagged as such. For more information visit musl-libc.org or read the WHATSNEW. Furthermore, this patch also changes musl to download directly from git. This makes it easier to update musl in the future. The patch custom Add-format-attribute-to-some-function-declarations.patch was assigned a new 400- number. This should avoid confusion since 0xx numbers are usually assigned to backports. [0] <http://git.musl-libc.org/cgit/musl/commit/?id=769f53598e781ffc89191520f3f8a93cb58db91f> Cc: Hannu Nyman <hannu.nyman@iki.fi> Cc: Koen Vandeputte <koen.vandeputte@ncentric.com> Cc: Jo-Philipp Wich <jo@mein.io> Cc: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
* zlib: Update to 1.2.11Daniel Engberg2017-01-161-3/+3
| | | | | | | | Update to 1.2.11 as suggested by upstream Also add SF as primary source and main site as fallback Note: SF doesn't carry the 1.2.11 update yet. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* kernel: ar8327/ar8337: disable ARL access code to avoid lockups (FS#384)Jo-Philipp Wich2017-01-161-0/+6
| | | | | | | | | | Running ar8327_get_arl_entry() early after boot leads to MDIO related system lockups on several devices using this driver. Since dumping the ARL table contens is an optional, uncritical feature, simply disable the code for now. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* curl: fix HTTPS network timeouts with OpenSSLStijn Segers2017-01-161-0/+36
| | | | | | | | | Backport an upstream change to fix HTTPS timeouts with OpenSSL. Upstream curl bug #1174. Signed-off-by: Stijn Segers <francesco.borromini@inventati.org> [Jo-Philipp Wich: reword commit message, rename patch to 001-*] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* base-files: add ARCH_PACKAGES to openwrt_release and os-releaseMatthias Schiffer2017-01-162-0/+2
| | | | | | | | | Knowing the package architecture at runtime can be useful, e.g. to configure opkg repository URLs. The value of ARCH_PACKAGES ("%A" in VERSION_SED) as added to openwrt_release (as DISTRIB_ARCH) and os-release (as LEDE_ARCH). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ubox: turn logd into a separate packageAndrej Vlasic2017-01-162-3/+15
| | | | | | | | Currently system log is always included as a part of ubox. Add logd as a seperate package and add it to default packages list. Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
* mbedtls: add static files in staging_dirDomagoj Pintaric2017-01-161-0/+1
| | | | | Signed-off-by: Domagoj Pintaric <domagoj.pintaric@sartura.hr> Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
* kernel: make ledtrig-netdev use a work queue for updatesFelix Fietkau2017-01-161-16/+16
| | | | | | | | This fixes hangs in igb that happen if the update call interrupts an already existing dev_get_stats call. In that case the calling CPU deadlocks because it's trying to acquire the same spinlock recursively. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* include/feeds.mk: base list of enabled feeds on available instead of ↵Matthias Schiffer2017-01-161-1/+1
| | | | | | | | installed feeds This fixes handling of CONFIG_FEED_* options for uninstalled feeds. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* opkg: use default PKG_BUILD_DIRMatthias Schiffer2017-01-161-1/+0
| | | | | | | opkg doesn't have BUILD_VARIANTs anymore, so the previously defined PKG_BUILD_DIR would lead to a weird 'opkg-' path component. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* mac80211: brcmfmac: add early (& hacky) patch for storing country codesRafał Miłecki2017-01-161-0/+60
| | | | | | | This allows some basic region switching on Netgear R8000. More devices & codes may be added. Ideally it should be converted into DT info & patch. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: use wiphy_read_of_freq_limits in brcmfmacRafał Miłecki2017-01-151-0/+31
| | | | | | | | This makes use of cfg80211 feature backported & described in 188626f17c09 ("mac80211: backport cfg80211 support for ieee80211-freq-limit DT property"). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add pending BCM5301X patches: Netgear R8000 WiFi & Luxul DTSRafał Miłecki2017-01-154-1/+343
| | | | | | | | This specifies wireless limitations for Netgear R8000 making sure people won't use channels incorrectly (limited performance). There are also 2 new DTS files not used by us yet. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>