aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tools: make all tools depend on xzJo-Philipp Wich2016-10-061-0/+3
| | | | | | | Make all tools except tar (which is required to bootstrap xz-utils) and XZ itself depend on XZ, in order to be able to handle .tar.xz downloads. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: tar: use .bz2 archiveJo-Philipp Wich2016-10-061-2/+2
| | | | | | | The "tar" utility is required to bootstrap XZ which is required to handle .tar.xz archives, therfore revert to using the bz2 archive. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: xz: use .bz2 archiveJo-Philipp Wich2016-10-062-13/+10
| | | | | | | | | | In order to build XZ itself we cannot assume that XZ support is available, so fetch the bz2 archive variant of its sources instead. Also drop the FreeBSD portability patch and apply it at prepare time using sed, to avoid a dependency on GNU patch which in turn depends on XZ support. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* source: Switch to xz for packages and tools where possibleDaniel Engberg2016-10-0649-71/+96
| | | | | | | | | | | * Change git packages to xz * Update mirror checksums in packages where they are used * Change a few source tarballs to xz if available upstream * Remove unused lines in packages we're touching, requested by jow- and blogic * We're relying more on xz-utils so add official mirror as primary source, master site as secondary. * Add SHA256 checksums to multiple git tarball packages Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* dslite: Quote resolveip hostname argumentHans Dedecker2016-10-062-4/+8
| | | | | | | | | Quote resolveip hostname argument to avoid bad shell injections. While at it fix pattern match logic in case multiple IPv6 addresses are returned for a hostname as they're seperated by newline by resolveip and not a white space Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* include: remove XZ host prereqJo-Philipp Wich2016-10-061-3/+0
| | | | | | | We build XZ as part of tools/, so no need to require it to be available on the host system. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* at91: Remove u-boot from platform images folderBen Whitten2016-10-067-836/+0
| | | | | | | Removes the bootloader from the images section as its now in packages/boot with the others. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* package: Add U-Boot for at91Ben Whitten2016-10-061-0/+102
| | | | | | | Adds u-boot for the at91 platform and a couple of boards. The build honours COPTS to benefit from fortify source et al. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* uhttpd: rename certificate defaults sectionJo-Philipp Wich2016-10-061-2/+2
| | | | | | | Now that the uhttpd init script can generate certificates using openssl as well, update the section name and related comment to be more generic. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ipq806x: fix wlan mac for Netgear R7800Pavel Kubelun2016-10-061-0/+3
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* include/package-ipkg.mk: use TARGET_PATH_PKG in Package/*/install stepsMatthias Schiffer2016-10-061-0/+2
| | | | | | | Package/*/install was using a different PATH than all other steps like Build/Install, which was confusing and easily led to mistakes. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* include/host-build.mk: set Host/Exports for Host/Install stepMatthias Schiffer2016-10-061-0/+1
| | | | | | | | | Having a different PATH in Host/Install than in other steps like Host/Build is confusing and easily leads to mistakes. Setting all of Host/Exports makes host builds match target builds (Build/Install is part of $(STAMP_BUILT), which has Build/Exports set). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* include/host-build.mk: fix ACLOCAL_INCLUDEMatthias Schiffer2016-10-061-1/+1
| | | | | | | | It seems the intention was to add both $(STAGING_DIR_HOST)/... and $(STAGING_DIR)/host/... instead of passing $(STAGING_DIR_HOST) twice. This makes the definition match HOST_CPPFLAGS and HOST_LDFLAGS. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* include/host-build.mk: pass HOST_BUILD_PREFIX to Host/installMatthias Schiffer2016-10-061-2/+2
| | | | | | | | | | Using HOST_BUILD_PREFIX instead of STAGING_DIR_HOST will make the argument work as expected from packages. Nothing changes for tools, for which HOST_BUILD_PREFIX and STAGING_DIR_HOST are equivalent. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* hostapd: make -mesh and -p2p variants depend on the cfg80211 symbolFelix Fietkau2016-10-051-3/+3
| | | | | | Avoids build failures when the nl80211 driver is disabled Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fixup last commitsMathias Kresin2016-10-055-9/+9
| | | | | | | Revert the rename of unrelated device tree nodes. Rename the missed leds of the Speedport W 504V Typ A. Signed-off-by: Mathias Kresin <dev@kresin.me>
* base-files: also generate configs when current is empty (FS#193)Koen Vandeputte2016-10-052-6/+6
| | | | | | | | | | | | | | | Before a configuration is generated, an empty file is created to store it in. (required by UCI) If something happens during config generation (power cut, interruption, ..) an empty file exists and it is never regenerated again, causing some daemons to fail starting (NTPD, logread, ..) Fix this by also generating new configs if a critical file is empty. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* lantiq: fix usb leds/triggerMathias Kresin2016-10-054-8/+11
| | | | | | | | | | | Add USB led aliases to boards having an led which is meant to be used as USB led according to the manuals. Remove the kmod-ledtrig-usbdev from the default package selection for boards not having an USB led. Add the kmod-ledtrig-usbdev to boards where it is missing. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use aliases device tree node for ledsMathias Kresin2016-10-0536-285/+277
| | | | | | The chosen node is clearly the wrong place for aliases. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: cleanup led handling functionsMathias Kresin2016-10-053-19/+22
| | | | | | | | | Use a more generic name for the lantiq_get_dt_led_chosen function. Drop the lantiq_is_dt_led_chosen function. The lantiq_get_dt_led function can be used to achieve the same. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: board.d: apply alphabetical order to led fileMathias Kresin2016-10-051-12/+12
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* include/download.mk: Use -7e compression instead of -6 by defaultDaniel Engberg2016-10-051-1/+1
| | | | | | Adds a slightly higher compression level to xz by default which roughly raises memory usage from 100MiB to about 200MiB during compression, about 10MiB for decompression. (Source: xz manpage) Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* include/prereq-build.mk: Add xz-utils to make prereqDaniel Engberg2016-10-051-0/+3
| | | | | | Add xz-utils to make prereq Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* ccache: disable assembler support, it breaks kernel initramfs imagesFelix Fietkau2016-10-051-0/+32
| | | | | | | | The reason is that ccache does not recognize and process the .incbin directive, so caching is unreliable. See https://github.com/ccache/ccache/issues/136 for more information. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix kmod-sound-hda-core on Linux 3.18Jo-Philipp Wich2016-10-051-3/+3
| | | | | | | The kmod-sound-hda-core module attempts to package snd-hda-core.ko which does not exist in Linux 3.18, therfore only use it for kernels >= 4.1 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* zynq: fix maintainer email addressJo-Philipp Wich2016-10-051-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* zynq: convert to new image build codeJo-Philipp Wich2016-10-055-97/+39
| | | | | | | | | | | | | | | | | | Convert the Zynq target to use the new image build code in order to fix broken image generation after 9945a1dca5bb6bc522393f7583baf3a64df6ce11 changed the handling of CPIO images. Also remove the misapplied ubifs feature flag since the image generation is not using UBIFS for building FIT images. As part of the conversion, move the DTB building and the uImage ramdisk generation into separate build steps which can be generalized and shared with other targets, like APM821xx, in the long run. Also remove the legacy profile declarations and use new-style per-device profiles which will allow different package sets per image in the future. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* uhttpd: support using OpenSSL for certificate generationHannu Nyman2016-10-052-3/+8
| | | | | | | | | | | | | | | | | | Support the usage of the OpenSSL command-line tool for generating the SSL certificate for uhttpd. Traditionally 'px5g' based on PolarSSL (or mbedTLS in LEDE), has been used for the creation. uhttpd init script is enhanced by adding detection of an installed openssl command-line binary (provided by 'openssl-util' package), and if found, the tool is used for certificate generation. Note: After this patch the script prefers to use the OpenSSL tool if both it and px5g are installed. This enables creating a truly OpenSSL-only version of LuCI without dependency to PolarSSL/mbedTLS based px5g. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* include/download.mk: generate reproducable SCM tarballsJo-Philipp Wich2016-10-051-4/+9
| | | | | | | | | | | | | | | | | Apply a number of changes to the tarball generation in order to produce identical files on different systems: 1) Use an explicit `gzip -cn` to avoid storing file mtime in the gzip header 2) Instruct `tar` to unconditionally use uid and gid 0 for archive members 3) Instruct `tar` to sort archive members by file name 4) For SCMs that do not preserve file modification times like Git or Mercurial, use the date of the last commit to the repository and pass it as `--mtime` value to `tar` After these changes, locally produced tarballs generated from SCM checkouts should be identical on any system, simplifying the mirroring of cache archives. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: add missing snd-hda-intel module for Linux 3.18 and 4.1Jo-Philipp Wich2016-10-051-2/+3
| | | | | | | Prior to kernel 4.4, the hda-intel module depends on the hda-controller utility submodule so bundle it for the older kernel versions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: add missing config symbol (partial forward port of d2f4479870)Felix Fietkau2016-10-041-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: fix regression on running make kernel_menuconfigFelix Fietkau2016-10-041-1/+1
| | | | | | | | The build system overrides HOST_LOADLIBES to add the staging dir to the library search path. menuconfig needs -lncurses, add another override for it. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing symbols for Linux 3.18 (like d2f4479870)Felix Fietkau2016-10-041-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: move kmod-owl-loader to the right .mk fileFelix Fietkau2016-10-042-21/+21
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix sound-hda-core dependencyFelix Fietkau2016-10-041-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: leaving behind incomplete metadata files on cancelled buildsFelix Fietkau2016-10-041-2/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing symbols for Linux 4.1Jo-Philipp Wich2016-10-041-0/+3
| | | | | | | Add some missing symbols to the generic 4.1 kernel config which got triggered by the introduction of the hda-intel sound module. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include: relax umask checkJo-Philipp Wich2016-10-041-1/+1
| | | | | | | | For now we only want to ensure that the group permission mask is permissive enough to not clobber required permissions on the rootfs, so allow less strict masks as well. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: backport usbport LED trigger from 4.9Rafał Miłecki2016-10-044-0/+931
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ramips: add support for Zyxel NBG-419N2 (WAP3205v2)Klaus2016-10-046-0/+134
| | | | | | | | | | | applied bb-final-ramips-add-zyxel-nbg-419n2.patch from 123serge123, found at https://yadi.sk/d/1ZV0lKJwbTE65; see https://forum.openwrt.org/viewtopic.php?pid=246905#p246905, modified slightly to fit to CC release and to new lede build system: image/rt305x.mk include file is used now changed NBG-419N2.dts format to fit style of other dts files Signed-off-by: Klaus <k-laus@quantentunnel.de>
* gre: Support fqdn as remote tunnel endpointHans Dedecker2016-10-042-5/+31
| | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* ar71xx: update kernel config symbolsPiotr Dymacz2016-10-041-1/+0
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: base-files: fix boards order in lib/upgrade/platform.shPiotr Dymacz2016-10-041-134/+134
| | | | | | Keep also case sections in alphabetical order. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: base-files: cleanups in lib/upgrade/platform.shPiotr Dymacz2016-10-041-266/+264
| | | | | | | | | This includes: - code style fixes - fix boards order within case sections Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: comsetic cleanups in files/arch/mips/ath79/{Makefile,machtypes.h}Piotr Dymacz2016-10-042-422/+422
| | | | | | Keep everything in alphabetical order and aligned in columns. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: base-files: cleanups in etc/board.d/01_ledsPiotr Dymacz2016-10-041-173/+126
| | | | | | | | | This includes: - use of local 'board' variable in LED names, wherever possible - merge of boards with exactly the same LED configuration Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix LED names for GL Innovations boardsPiotr Dymacz2016-10-047-28/+28
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: base-files: fix code style in etc/board.d/01_ledsPiotr Dymacz2016-10-041-160/+38
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: base-files: combine boards with the same config in etc/diag.shPiotr Dymacz2016-10-041-62/+24
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: base-files: cleanups in etc/diag.shPiotr Dymacz2016-10-041-120/+137
| | | | | | | | | This includes: - code style fixes - use of local 'board' variable in LED names, wherever possible Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>