aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* arc: clean-up and move CFLAGS to include/target.mkFelix Fietkau2016-01-181-0/+1
| | | | | | | | | | | | | | | | | | | Most of currently mentioned CFLAGS in arc770/Makefile are not really required because: [1] "-Os -pipe" are set by default in include/target.mk [2] "-fno-caller-saves" gets enabled via menuconfig as an extra compiler flag for developers So the only one that makes sense is "-matomic" and that one is really essential. Without it many software packges won't build complainin on unresolved atomic ops. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add @APACHE download facilityFelix Fietkau2016-01-171-1/+1
| | | | | | | | | | The Apache Software Foundation offers diverse download mirros. For packaging Apache software a new alias @APACHE is defined. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Support LibreSSL as provider of opensslFelix Fietkau2016-01-171-1/+1
| | | | | | | | | | | | The build scripts check for openssl by grepping the string "OpenSSL" in the output of openssl version command. LibreSSL fails this test as it outputs something like "LibreSSL 2.2.4". This patch fix the prereq-bulid.mk file so that it accepts LibreSSL as openssl provider as well. Signed-off-by: Marek Behun <kabel@blackhole.sk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.18: update to version 3.18.25Hauke Mehrtens2016-01-121-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.3: update to version 4.3.3Hauke Mehrtens2016-01-121-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.1: update to version 4.1.15Hauke Mehrtens2016-01-121-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: remove SDK special case for kernel module packagesFelix Fietkau2016-01-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Update kernel 4.4 to 4.4.0Felix Fietkau2016-01-111-2/+2
| | | | | | | | | | This removes one patch which was applied upstream with commit 67b9bcd36906e12a15ffec19463afbbd6a41660e. All other patches were refreshed. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48203 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: ignore the linux package in the sdk only for generating package data, ↵Felix Fietkau2016-01-102-6/+8
| | | | | | | | not for dependencies Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: prevent host default LDFLAGS from leaking into packagesFelix Fietkau2016-01-081-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: do not allow the SDK to reconfigure built-in kernel modulesFelix Fietkau2016-01-081-1/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: skip rebuild of kernel images if the source did not changeFelix Fietkau2016-01-062-15/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: suppress unnecessary kernel config rewrites to speed up buildFelix Fietkau2016-01-061-5/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48143 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add a variable pointing to the main openwrt git repositories (useful ↵Felix Fietkau2016-01-041-0/+2
| | | | | | | | if we want to support using a mirror later) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* export KERNEL_INITRAMFS_IMAGEFelix Fietkau2016-01-041-1/+1
| | | | | | | | | | `Build/ubnt-erx-factory-kernel` in `target\linux\ramips\image\Makefile` references `$(KERNEL_INITRAMFS_IMAGE)` which is not exported Signed-off-by: YounJae Rho <luxflow@live.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: use directory name instead of PKG_NAME for staging files and package ↵Felix Fietkau2016-01-041-14/+14
| | | | | | | | metadata Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: filter out relative directory entries from $PATHFelix Fietkau2016-01-031-0/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48107 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: use new pure make functions for sanitizing image filenamesFelix Fietkau2016-01-031-11/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* images imagebuilder: Allow to add sanitized extra nameFelix Fietkau2016-01-031-1/+2
| | | | | | | | | | | | | For final output image names allow user to add an extra string (which is sanitized). This is particularly useful with ImageBuilder where you may generate multiple images from the same base and for the same board, with different package selections and additional files (via FILES=). Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* images: use configured distribution name for output image namesFelix Fietkau2016-01-031-13/+15
| | | | | | | | | We allow to configure the version distribution name; let's also use it for the final image filenames. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: for cmake, always use ccache from staging dir instead of relying on ↵Felix Fietkau2016-01-031-4/+1
| | | | | | | | the host Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.4: update to 4.4-rc7Imre Kaloz2016-01-011-2/+2
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: use cross toolchain cpp for processing dts file instead of relying ↵Felix Fietkau2015-12-191-1/+1
| | | | | | | | on the host compiler Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.4: bump to -rc5Imre Kaloz2015-12-151-2/+2
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47894 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/netfilter.mk: fix kmod-ipt-tee build with 4.3/4.4Felix Fietkau2015-12-131-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: for refresh, override HOST_QUILT like QUILTFelix Fietkau2015-12-111-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: fix arch used during dts compilationFelix Fietkau2015-12-101-3/+3
| | | | | | | | | Use kernel arch for dts compilation. Also use Image/BuildDTB to build dts for ramips. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47823 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: bump 4.4 to rc4Imre Kaloz2015-12-071-2/+2
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47801 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add linux 4.4 supportJonas Gorski2015-12-021-0/+2
| | | | | | | | Based on 4.4-rc3. Runtime tested on MIPS. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel-version: drop 4.0 remnantsJonas Gorski2015-12-021-2/+0
| | | | | | | | We don't support 4.0 anymore and it is EOL anyway. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.1 to 4.1.13Hauke Mehrtens2015-12-021-2/+2
| | | | | | | | | | | | - two upstreamed patches removed - compile tested all targets using 4.1 - run tested ar71xx Signed-off-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add support for choosing a different url filename part than the ↵Felix Fietkau2015-11-221-2/+3
| | | | | | | | output file Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: add support of Synopsys ARC770-based boardsFelix Fietkau2015-11-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces support of new boards with ARC cores. [1] Synopsys SDP board This is a new-generation development board from Synopsys that consists of base-board and CPU tile-board (which might have a real ASIC or FPGA with CPU image). It sports a lot of DesignWare peripherals like GMAC, USB, SPI, I2C etc and is intended to be used for early development of ARC-based products. [2] nSIM This is a virtual board implemented in Synopsys proprietary software simulator (even though available for free for open source community). This board has only serial port as a peripheral and so it is meant to be used for runtime testing which is especially useful during bring-up of new tools and platforms. What's also important ARC cores are very configurable so there're many variations of options like cache sizes, their line lengths, additional hardware blocks like multipliers, dividers etc. And this board could be used to make sure built software still runs on different HW configurations. Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: enable vfpv4 support and set cpu type to cortex-a9Felix Fietkau2015-11-141-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: add support of ARC architectureFelix Fietkau2015-11-102-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes binutils, gcc, gdb and uClibc-ng. Latest release of ARC gcc (as of today it is "arc-2015.06") is based on upstream gcc 4.8.4. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc Latest release of ARC binutils (as of today it is "arc-2015.06") is based on upstream binutils 2.23. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06 Latest release of ARC GDB (as of today this is "arc-2015.06-gdb") is based on upstream gdb 7.9.1. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb Note that for binutils and gdb that come from unified git repository (which is the case for upstream binutils/gdb today) we need to disable building of gdb in binutils and binutils in gdb hence in binutils: ------>8------ --disable-sim --disable-gdb ------>8------ and in gdb: ------>8------ --disable-binutils --disable-ld --disable-gas ------>8------ Also in gdb we disable sim because if the following breakage while building with it: ------------>8------------ /usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \ -mono -fast -pbb -switch sem5-switch.c \ -cpu a5f -infile ./mloop5.in \ -outfile-suffix 5 unknown option: bash Makefile:699: recipe for target 'stamp-5mloop' failed make[7]: *** [stamp-5mloop] Error 1 ------------>8------------ Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image: append-ubi: add optional UBI subpage sizeFelix Fietkau2015-11-071-1/+2
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image.mk: Introduce generic option to wrap kernel into JFFS2Felix Fietkau2015-11-071-0/+15
| | | | | | | | | Some devices require the kernel to be in a JFFS2 file system. Make the support for this more generic so that it can be used by other devices. Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image.mk: introduce KERNEL_INITRAMFS_NAME variableFelix Fietkau2015-11-071-2/+3
| | | | | | | | | | | | | | | | | | | | | In case if we're interested in generation of non-binary images (for example if we want images to be valid .elfs - and that's what we want for ARC now) we have to instruct Device/Build/initramfs target to use input file with some extension (in case of ARC it will be essentially .elf). Otherwise default binary vmlinux-initramfs (without extension) is used and resulting images then are binaries instead of elfs. Now having KERNEL_INITRAMFS_NAME variable it's possible to substitute default $$(KERNEL_NAME)-initramfs with preferred option like $$(KERNEL_NAME)-initramfs.elf. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47403 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toplevel.mk: fix distcleanFelix Fietkau2015-11-061-1/+1
| | | | | | | | | - remove logs like "make dirclean" does - remove key-build* Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47397 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.3-rc7 to version 4.3Luka Perkov2015-11-041-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47384 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/kernel.mk - better search for ARCHFelix Fietkau2015-11-021-5/+5
| | | | | | | | | | | | | | | | | If "findstring" is used without leading and trailing spaces unexpected matches may happen. For example consider ARC=arc then "findstring $(ARCH)" will report a false match with "aarch64". But "findstring $ARCH " (note trailing space) will correctly skip matches for both "aarch64" and "aarch64_be". This patch is built-tested against NetGear WNDR3800. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47359 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.18 to version 3.18.23Hauke Mehrtens2015-11-011-2/+2
| | | | | | | | | | | Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target.mk: add optimization flags for MIPS 24Kc.Felix Fietkau2015-10-311-0/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image.mk: Use PROFILE_SANITIZED in targz image taskFelix Fietkau2015-10-311-1/+1
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47311 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image.mk: Introduce sanitized profile variableFelix Fietkau2015-10-311-0/+10
| | | | | | | | | Making common code reusable as there's a lot of duplicate code in imx6, kirkwood and oxnas archs. Signed-off-by: Petr Štetiar <ynezz@true.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: make mkfs-* depend on kernel installation to fix parallel build issuesFelix Fietkau2015-10-301-1/+1
| | | | | | | Reported-by: Petr Štetiar <ynezz@true.cz> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: Allow kernel modules to set build ID debug symbolFelix Fietkau2015-10-301-1/+2
| | | | | | | | | | | | | | | | | | | | This change adds support for specifying a build ID for kernel modules. This is done by setting PKG_BUILD_ID to a hexadecimal string, which will then be passed to the kernel linker. In addition, when this flag is set, the build ID debug symbol (.note.gnu.build-id) will not be stripped from the kernel module. This symbol is exported in sysfs by the kernel (if the kernel is compiled with CONFIG_KALLSYMS) and so can be used to uniquely identify a version of a kernel module in a running kernel. This is useful for keeping track of different versions of a module when doing experiments and development. Modules that specify the build ID will be ~100 bytes larger (depending on the length of the build ID specified). There is no size difference for kernel modules that do not set this variable. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target: remove nathelpers from default images (legacy)Steven Barth2015-10-291-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.1 to version 4.1.11Hauke Mehrtens2015-10-251-2/+2
| | | | | | | | | https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.3 to version 4.3-rc7Hauke Mehrtens2015-10-251-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47250 3c298f89-4303-0410-b956-a3cf2f4a3e73