aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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> SVN-Revision: 47591
* 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> SVN-Revision: 47589
* ipq806x: enable vfpv4 support and set cpu type to cortex-a9Felix Fietkau2015-11-141-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47468
* 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> SVN-Revision: 47438
* image: append-ubi: add optional UBI subpage sizeFelix Fietkau2015-11-071-1/+2
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 47411
* 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> SVN-Revision: 47404
* 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> SVN-Revision: 47403
* 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> SVN-Revision: 47397
* kernel: update kernel 4.3-rc7 to version 4.3Luka Perkov2015-11-041-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47384
* 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> SVN-Revision: 47359
* 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> SVN-Revision: 47334
* target.mk: add optimization flags for MIPS 24Kc.Felix Fietkau2015-10-311-0/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 47323
* include/image.mk: Use PROFILE_SANITIZED in targz image taskFelix Fietkau2015-10-311-1/+1
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> SVN-Revision: 47311
* 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> SVN-Revision: 47307
* 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> SVN-Revision: 47296
* 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> SVN-Revision: 47290
* target: remove nathelpers from default images (legacy)Steven Barth2015-10-291-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 47280
* 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> SVN-Revision: 47252
* kernel: update kernel 4.3 to version 4.3-rc7Hauke Mehrtens2015-10-251-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47250
* kernel: generic: add kernel 4.3Hauke Mehrtens2015-10-111-0/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47182
* build: include homebrew include/library directory in cflags/ldflags on mac os xFelix Fietkau2015-10-051-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47139
* build: use host cflags/ldflags for openssl prereq checkFelix Fietkau2015-10-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47138
* base-files: add URL option for OEM manufacturer infoJohn Crispin2015-10-051-0/+5
| | | | | | | | | This URL can be embedded e.g. within UPnP announcements where a link to the manufacturer's homepage is desired. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 47135
* kernel: update 4.1 to 4.1.10Hauke Mehrtens2015-10-041-2/+2
| | | | | | | | | | | | | | | | | | | Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10 096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied upstream and dropped. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [update from 4.1.9 to 4.1.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47104
* toplevel.mk: drop LD_LIBRARY_PATH overridesJo-Philipp Wich2015-10-031-2/+0
| | | | | | | | | | | | | Overriding LD_LIBRARY_PATH for host utilities frequently leads to problems with host executables loading shared libraries from the staging_dir, leading to crashes due to incompatible ABIs. Since most host utilties either embed a proper rpath or are reworked to link statically we do not need the workaround anymore. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47103
* prereq-build: test availability of Perl Thread::Queue moduleJo-Philipp Wich2015-09-291-0/+4
| | | | | | | | This is needed for building automake. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47069
* build: do not overwrite already existing host commandsFelix Fietkau2015-09-161-0/+1
| | | | | | | | | This prevents a later prereq check from overwriting the installed tar binary. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46982
* prereq-build: test for static zlib availabilityJo-Philipp Wich2015-09-161-2/+8
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 46976
* include: toplevel: drop unused OPENWRTVERSION variableRafał Miłecki2015-09-141-2/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46906
* toplevel: fix release nameSteven Barth2015-09-131-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46899
* include/image.mk: make tar reproducibleFelix Fietkau2015-09-111-1/+1
| | | | | | | | | several packages reported different file order between builds make binutils, kmod-sched reproducible Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46859
* nls.mk: add -rpath-link when needed for NLS supportSteven Barth2015-09-071-2/+2
| | | | | | | | | | When a package links to a shared library that depends on libiconv or libintl shared libraries, specifying directory pathes to them via -L switches is not enough, see "man 1 ld" -rpath-link description. Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 46801
* image: allow exactly KERNEL_SIZE sized kernelsJonas Gorski2015-09-041-2/+2
| | | | | | | | | The KERNEL_SIZE should be the maximum size, inclusive, so we need to check for greater equal, not just greater. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46792
* image: move netgear-image to top and rename to -dniJonas Gorski2015-09-041-0/+9
| | | | | | | | Use the same naming as netgear-chk. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46791
* build: add a build step for generic sysupgrade nand imageJonas Gorski2015-09-041-0/+8
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46784
* image: add a build step for building and appending an ubinized rootfsJonas Gorski2015-09-041-0/+10
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46783
* kernel: update 3.18 to 3.18.21Jonas Gorski2015-09-021-2/+2
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46768
* kernel: update 4.1 to 4.1.6Jonas Gorski2015-08-231-2/+2
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.6 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46713
* brcm63xx: move gzip build command to include/image.mkJonas Gorski2015-08-141-0/+5
| | | | | | | | Allow other targets to make use of it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46601
* image.mk: add a fit recipeJonas Gorski2015-08-141-0/+10
| | | | | | | | Add a recipe to build a fit wrapped kernel (and optional dtb). Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46600
* kernel: update 4.1 to 4.1.5Jonas Gorski2015-08-141-2/+2
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46598
* image.mk: store the device name variableJonas Gorski2015-08-141-1/+2
| | | | | | | | | Make the device name accessible for any build commands instead of forcing targets to define it themselves. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46597
* image.mk: replace all Build/netgear-chk with a generic implementationJonas Gorski2015-08-141-0/+9
| | | | | | | | | Instead of letting each target define it themselves, create on in include/image.mk and let the targets use it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46596
* image.mk: move KDIR_TMP definition to a central locationJonas Gorski2015-08-141-0/+1
| | | | | | | | | | | Instead of each target defining it the same, move the KDIR_TMP definition to include/image.mk. In addition Image/Build/SysupgradeNAND already requires KDIR_TMP to be set, so it makes sense to have it globally defined. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46592
* image: fix handling of per-device kernel build commandsFelix Fietkau2015-08-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46589
* kernel: update 3.18 to 3.18.20Hauke Mehrtens2015-08-091-2/+2
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46570
* kernel: update 4.1 to 4.1.4Jonas Gorski2015-08-051-2/+2
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.4 Signed-off-by: Daniel Golle <daniel@makrotopia.org> [jogo: fix brcm2708 patches, refresh target patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46560
* image: fix device variable exports for initramfs imagesFelix Fietkau2015-07-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46496
* kernel: update 4.0 to 4.0.9Jonas Gorski2015-07-221-2/+2
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.9 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46440
* kernel: update 3.18 to 3.18.19Jonas Gorski2015-07-221-2/+2
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.19 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46439