aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* aarch64: add initial supportFlorian Fainelli2014-11-246-1/+71
| | | | | | | | Add initial support for the AArch64 architecture Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43353
* build: allow AutoLoad and AutoProbe to specify modules not included in the ↵Felix Fietkau2014-11-191-8/+4
| | | | | | | | | | | | package On out-of-tree modules depending on other out-of-tree modules from a different tree, module dependencies are not filled properly. This change helps with adding those dependencies in the AutoLoad call Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43323
* keernel: Fixed dependencies in netfilter modules introduced with 3.18 kernelJohn Crispin2014-11-191-0/+3
| | | | | | | | | | Building current trunk with 3.18 kernel fired some errors like 'missed dependancy of module XXX from library kmod_YYY.ko'. These patch fixes 3 of such issues which are critical to have a successful build. Signed-off-by: Alexey N Vinogradov <a.n.vinogradov@gmail.com> SVN-Revision: 43318
* kernel: update kernel 3.18 to rc4Hauke Mehrtens2014-11-101-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 43229
* kernel: 3.18: Fix kmod-ipt-natSteven Barth2014-11-081-0/+2
| | | | | | | | | | | The 3.18 kernel introduced new Kconfig options for the xt_nat and iptable_nat kernel modules, that both belong to the ipt_nat kernel package. Enable this new options. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> SVN-Revision: 43212
* netfilter: Enable compiling iptables match clusterFelix Fietkau2014-11-031-0/+7
| | | | | | | | | | | | | | | | | | This patch adds the userspace and kernelspace for - match NETFILTER_XT_MATCH_CLUSTER This match can be used to deploy gateway and back-end load-sharing clusters. - target IP_NF_TARGET_CLUSTERIP This module allows you to configure a simple cluster of nodes that share a certain IP and MAC address without an explicit load balancer in front of them. Connections are statically distributed between the nodes in this cluster. This is used i.e. by strongswan-ha. Signed-off-by: Christian Scheele <cs@embedd.com> SVN-Revision: 43174
* kernel: make it possible to select experimental 3.18 (3.18-rc2)Rafał Miłecki2014-10-271-0/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43094
* generate list of license information for packagesJohn Crispin2014-10-261-1/+3
| | | | | | | | | | | | | Many packages define already metadata about their license (PKG_LICENSE), but this is only included in the ipk files. This change allows to create the information also on the build-host, to get an overview on the used licenses. In the full list, also all packages without this info are shown Signed-off-by: Thomas Langer <thomas.langer@lantiq.com> SVN-Revision: 43070
* Revert "include/shell.sh: remove getvar()"Felix Fietkau2014-10-261-0/+4
| | | | | | | | It is more widely used than I thought. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43068
* kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)Felix Fietkau2014-10-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All platforms which are using 3.10.x at the moment are upgraded. Changelogs: https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.50 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.51 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.52 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.53 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.54 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.55 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.56 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.57 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58 A new symbol 'X86_16BIT' appeared in 3.10.52 with commit 34273f41d57ee8d854dcd2a1d754cbb546cb548f ("x86-espfix-make-it-possible-to-disable-16-bit-support.patch") I defaults to 'unset', but it's worth a discussion to enable it ("turn off support for any 16-bit software"). Also removed the patch 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e ("fix build failure on memcpy() in decompress.c") and is obsolete by commit 29593fd5a8149462ed6fad0d522234facdaee6c8 upstream. included in kernel 3.10.56 compile tested on all platforms with: make tools/install make toolchain/install make target/linux/compile user@box:~/user/openwrt$ cat /tmp/log.txt [Wed Oct 22 00:36:02 CEST 2014] ./smoketest.sh: ar71xx - OK [Wed Oct 22 00:53:22 CEST 2014] ./smoketest.sh: ar7 - OK [Wed Oct 22 01:08:27 CEST 2014] ./smoketest.sh: au1000 - OK [Wed Oct 22 01:21:43 CEST 2014] ./smoketest.sh: avr32 - OK [Wed Oct 22 01:37:47 CEST 2014] ./smoketest.sh: cns21xx - OK [Wed Oct 22 01:52:05 CEST 2014] ./smoketest.sh: cns3xxx - OK [Wed Oct 22 02:10:23 CEST 2014] ./smoketest.sh: gemini - OK [Wed Oct 22 02:29:07 CEST 2014] ./smoketest.sh: ixp4xx - OK [Wed Oct 22 02:44:01 CEST 2014] ./smoketest.sh: malta - OK [Wed Oct 22 02:55:57 CEST 2014] ./smoketest.sh: mpc85xx - OK [Wed Oct 22 03:07:56 CEST 2014] ./smoketest.sh: orion - OK [Wed Oct 22 03:24:30 CEST 2014] ./smoketest.sh: ppc40x - OK [Wed Oct 22 03:40:19 CEST 2014] ./smoketest.sh: ppc44x - OK [Wed Oct 22 03:55:29 CEST 2014] ./smoketest.sh: realview - OK [Wed Oct 22 04:09:47 CEST 2014] ./smoketest.sh: sparc - OK [Wed Oct 22 04:23:37 CEST 2014] ./smoketest.sh: x86 - OK [Wed Oct 22 04:35:56 CEST 2014] ./smoketest.sh: xburst - OK run tested on x86, au1000, ar71xx, mpc85xx and brcm47xx Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 43049
* kernel: allow targets to specify KERNEL_PATCHVER instead of LINUX_VERSIONFelix Fietkau2014-10-241-22/+18
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43043
* include: unbreak conffiles, postinst & prerm exportsJo-Philipp Wich2014-10-241-1/+5
| | | | | | | | | | | | Changeset r43017 reworked the ipkg control metadata generation but broke the export of conffiles, postinst and prerm defines. Change the code back to rely on shvar and shexport, this is required to properly output multiline contents. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43041
* Revert "build: use ONESHELL to speed up scanning and the toplevel makefile"Felix Fietkau2014-10-222-2/+0
| | | | | | | This seems to cause issues on some build hosts, and it is not that important. SVN-Revision: 43025
* build: only print skipped packages that were selectedFelix Fietkau2014-10-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43023
* kernel: use /bin/sh instead of bash to speed up processing of many kmod-* ↵Felix Fietkau2014-10-221-2/+2
| | | | | | | | packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43022
* build: use ONESHELL to speed up scanning and the toplevel makefileFelix Fietkau2014-10-222-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43021
* include/shell.sh: remove getvar()Felix Fietkau2014-10-221-4/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43020
* build: optimize target metadata dumpFelix Fietkau2014-10-221-8/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43019
* build: clean up and optimize ipkg control generator codeFelix Fietkau2014-10-222-45/+52
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43017
* build: do not process built-in rules for make subdirsFelix Fietkau2014-10-221-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43016
* build: optimize printing of disabled packagesFelix Fietkau2014-10-221-3/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43015
* prereq-build: rename the openssl check to libssl, add back the old check - ↵Felix Fietkau2014-10-201-3/+7
| | | | | | | | it is required after all Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42999
* prereq-build: replace the openssl command check with a check for headersFelix Fietkau2014-10-201-2/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42995
* build: improve feed handling for opkg.confJo-Philipp Wich2014-10-161-1/+3
| | | | | | | | | - Consider not installed feeds as well - Add option to decide whether to comment disabled feeds Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42931
* image.mk: remove legacy target rulesFelix Fietkau2014-10-121-7/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42881
* image.mk: parallelize cpio.gz and tar.gz filesystem buildFelix Fietkau2014-10-121-13/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42880
* image.mk: split off jffs2-raw images into a separate make target to improve ↵Felix Fietkau2014-10-121-3/+7
| | | | | | | | parallel build time Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42879
* image.mk: clean up and parallelize mkfs callsFelix Fietkau2014-10-121-45/+49
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42878
* prereq.mk: only define .NOTPARALLEL when processing prereq checksFelix Fietkau2014-10-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42877
* kernel-build.mk: add .NOTPARALLELFelix Fietkau2014-10-121-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42876
* image.mk: call mkfs/prepare for the image builderFelix Fietkau2014-10-121-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42874
* image.mk: reduce code duplication, move prepare to a separate make targetFelix Fietkau2014-10-121-37/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42873
* image.mk: remove the unnecessary .NOTPARALLEL flagFelix Fietkau2014-10-121-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42872
* include/download.mk: Add download mirrors for tools from GNU Savannah (bug ↵John Crispin2014-10-081-1/+1
| | | | | | | | | | | #15184) I defined a new download method @SAVANNAH in include/download.mk and scripts/download.pl, and converted quilt and qemu to use that method. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 42840
* Fix build when TAR_OPTIONS env variable is setJohn Crispin2014-10-061-0/+2
| | | | | | | | | | | | | | | | | | The build system sets a make variable TAR_OPTIONS to the unpacking command, i.e. "-xf -". Now if an environment variable with the same name is set, the make variable is automatically exported to the environment. The make variable is added to the tar command in the makefile, and tar adds the environment variable. This results in a command like "tar -c /some/dir -xf - -xf -" which of course doesn't work. It is also difficult to spot as the second "-xf -" is not visible on the command line. I suggest this is fixed by unexporting TAR_OPTIONS as I see no use of the evironment variable, and it is changed from the original value anyway. Signed-off-by: Jan Kardell <jan.kardell@telliq.com> SVN-Revision: 42794
* build: remove useless quote stripping for KERNELNAME, add fallback for it in ↵Felix Fietkau2014-10-051-9/+4
| | | | | | | | the kernel build command line Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42781
* lantiq: remove the useless ltqtapi.mk include fileFelix Fietkau2014-10-051-12/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42778
* build: make sure modules are modposted after initramfs image is builtFelix Fietkau2014-10-051-2/+2
| | | | | | | | | | | | | | Otherwise the modpost steps for individual modules that are compiled manually (using make package/<name_of_module>/install) will give warning of missing symbols when that module depends other modules. This is caused by the Module.symvers file not containing any symbols anymore of external modules when the initramfs image is built without specifically giving the modules target. Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl> SVN-Revision: 42773
* build: propagate package conflicts to opkg metadataFelix Fietkau2014-10-051-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42771
* build: add support for declaring package CONFLICTS which only affect ↵Felix Fietkau2014-10-052-0/+2
| | | | | | | | selecting built-in packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42770
* netfilter: unbreak kmod-ipt-nat for <3.7Steven Barth2014-09-291-0/+1
| | | | SVN-Revision: 42696
* build: allow packages with build variants to explicitly select a default variantFelix Fietkau2014-09-232-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42654
* netfilter: fix a typo in TTL-match moduleSteven Barth2014-09-181-1/+1
| | | | SVN-Revision: 42611
* netfilter: remove redundant CONFIG_IP_NF_IPTABLESSteven Barth2014-09-171-1/+0
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42599
* Reorganize netfilter kernel modules and package nftables kernel supportSteven Barth2014-09-172-41/+76
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42596
* postinst trigger: the new postinst trigger broke IBJohn Crispin2014-09-161-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42571
* kernel-build: fix STRIP_KERNEL_EXPORTS for recent kernelsJohn Crispin2014-09-151-1/+1
| | | | | | | | | | Recent kernels started to mark exported symbols as global. Adapt expressions in kernel-build.mk to also match global symbols when grep'ing through nm output. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 42555
* include: remove file before overwritting it with replace_scriptJohn Crispin2014-09-151-1/+3
| | | | | | | | | | | | | | | | | | | | config.{sub,guess} could be symlinks to a shared common version of this file (e.g. in staging). So we remove the destination file via --remove-destination option of cp. This prevents replaceing the common file that other packages could be build with if running at the same time. This fixes a class of errors where config.sub is missing, or only partially present when running configure because a cp is currently in progress This is commonly seen building with a lot of parallel jobs and on packages that use 'PKG_FIXUP:=autoreconf' Signed-off-by: Matthew McClintock <mmcclint@qca.qualcomm.com> Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> SVN-Revision: 42547
* ipkg: add a default postinst/prerm scriptJohn Crispin2014-09-111-3/+14
| | | | | | | | | | | the postinst script enables/starts the init.d scripts upon package installation and installs the users required by the package. the prerm script stops and disables the init.d scripts. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42470
* include: add a meta data field for required system user:groupJohn Crispin2014-09-113-1/+4
| | | | | | | | | this is in preparation of having services run as !root with ACL'ed access to ubus. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42469