Commit Graph

1364 Commits (5d2ba776636f82adb6857aca84fe9b8146f340d0)

Author SHA1 Message Date
Felix Fietkau cf3d83fe4a build: BSD compile fixes
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.

Mostly small pieces of code changes to get things right on the
specific platform.

Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.

Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-07 17:32:29 +00:00
Steven Barth d32fdeb4c0 netfilter: Fix typo in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-07 09:30:52 +00:00
Steven Barth b15a62570b iptables: Add missing IPv6 builtin modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-07 08:48:41 +00:00
Jo-Philipp Wich c31da129f7 include: make firewall3 the default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-05 13:41:56 +00:00
Gabor Juhos c5ba6a9391 kernel: update linux 3.8 to 3.8.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 08:43:55 +00:00
Gabor Juhos f90fa7f4b4 kernel: update linux 3.8 to 3.8.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:58:52 +00:00
Gabor Juhos f4b2c62d60 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:57:40 +00:00
Jonas Gorski 978847afc3 include/toplevel.mk: print warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:22 +00:00
Jonas Gorski 63f47d5dbf include/package-ipkg.mk: print warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:20 +00:00
Jonas Gorski c5567fcdc1 include/package-bin: print warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:18 +00:00
Jonas Gorski 9c5cfcc8c9 include/kernel.mk: print warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:16 +00:00
Gabor Juhos 6b04db4e87 kernel: update linux 3.8-rcX to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 09:17:38 +00:00
Gabor Juhos ca34712a7c kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 21:32:42 +00:00
Gabor Juhos 240c27a41f kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 07:36:15 +00:00
Gabor Juhos 8601a4452e kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 09:51:11 +00:00
Gabor Juhos d619b697b5 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:02:56 +00:00
Gabor Juhos 3b3c72413c package/kernel: xt_NOTRACK has been removed in 3.7-rc1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:02:52 +00:00
Luka Perkov a6c3641123 include/image.mk: export ubifs image from mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-03 21:00:24 +00:00
Gabor Juhos 046963da3a kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 18:29:45 +00:00
Felix Fietkau 081d10c739 kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
in combination with kernel symbol export stripping this significantly reduces
the kernel image size

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 16:26:13 +00:00
Felix Fietkau baf6422f7b kernel: fix module export stripping
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 16:26:04 +00:00
Gabor Juhos 1ccd35ab43 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:08:37 +00:00
Gabor Juhos 3ab3849ad3 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 11:44:42 +00:00
Florian Fainelli a3d1301c2d kernel: add missing CONFIG_KALLSYMS_UNCOMPRESSED symbol
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 19:55:45 +00:00
Jo-Philipp Wich 16345d0356 netfilter.mk: add addrtype match to iptables-mod-extra (kmod-ipt-extra)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 16:12:56 +00:00
Gabor Juhos 64cfd63980 kernel: update linux 3.7 to 3.7.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 11:43:08 +00:00
Florian Fainelli c87db17012 image.mk: use XZ bcj architecture filter if available
xz supports using an architecture specific BCJ filter, use that one to
save us a couple kB while producing squashfs filesystems (mimics the
Linux kernel).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-11 16:44:26 +00:00
Florian Fainelli 4cfd926697 netfilter: xt_NOTRACK is incorporated in xt_CT as of 3.8-rc3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 17:20:29 +00:00
Felix Fietkau 5a81cbc7e3 cmake.mk: add support for overriding the source dir, and define the cmake prefix path to avoid picking up host libraries for target builds (patch by Henning Rogge)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 11:12:31 +00:00
Felix Fietkau c28528a913 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 19:17:19 +00:00
Felix Fietkau 28b1b94a65 build: reduce the size of package metadata a bit to keep package list files smaller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 19:56:21 +00:00
Felix Fietkau 00cb42b946 build: remove the default useless MAINTAINER value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:56:16 +00:00
John Crispin 78b7242642 [netfilter] fix ipv4 nat on 3.7 by adding missing iptables modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 10:17:29 +00:00
Felix Fietkau 5e0b3ba08e kernel: fix module packages postinst by pointing to the new functions.sh location
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 15:29:37 +00:00
Gabor Juhos 9cf97ce9dc kernel: update linux 3.7 to 3.7.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 15:13:31 +00:00
Gabor Juhos be30c6ff99 netfilter: fix module list for 3.7 kernel
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:50:42 +00:00
Gabor Juhos 8fa14cd324 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:41:16 +00:00
John Crispin 631fa2c18c [include] fixes uapi helper define
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 11:04:27 +00:00
John Crispin 6ebfe5fee2 [lantiq] fix tapi dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:50 +00:00
John Crispin 8339eed6b9 [include] adds wrapper for uapi directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:14 +00:00
Jo-Philipp Wich af0c735653 netfilter.mk: extend nf_add macro to take a version dependency expression
- nf_add now takes an optional 4th argument which specifies a kernel version dependency, e.g. "lt 3.7.0"
	- remove CompareKernelPatchVer conditionals around nf_add invocations, use version depends instead
	- fixes xt_LOG.ko packaging with Linux 3.6.0 and later

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 00:05:35 +00:00
Gabor Juhos 2c0ebd76cf kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 20:14:39 +00:00
Florian Fainelli 7c497fd047 kernel: update to 3.7 final
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 11:31:17 +00:00
Jo-Philipp Wich 491ecb8358 netfilter.mk: fix packaging of xt_LOG.ko, it moved between 3.3.8 and 3.6.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 09:53:50 +00:00
Gabor Juhos 77279cff10 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-08 15:01:33 +00:00
Florian Fainelli 9a95c59fbe Revert "include/image.mk: call Image/Build/{cpiogz,targz}"
This breaks on platforms building their own targz/cpioz images.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 22:59:05 +00:00
Florian Fainelli 4a233e175e include/image.mk: call Image/Build/{cpiogz,targz}
All Image/mkfs/... macros call the Image/Build except for
Image/mkfs/targz and Image/mkfs/cpiogz

This patch adds the Image/Build call for Image/mkfs/targz and
Image/mkfs/cpiogz.

Signed-off-by: Maarten Bezemer <m.m.bezemer@utwente.nl>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:09 +00:00
Jo-Philipp Wich ab24863321 include: download.mk: correct tar argument order when packing checkouts
GNU TAR v1.26 will fail with "no such file or directory" errors when the
output file does not immediately follow the -f switch.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 18:35:47 +00:00
Felix Fietkau 230a9f2b78 kernel: fix stripping symbol exports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 17:42:17 +00:00
Felix Fietkau 1c7f02bbb9 kernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 15:26:24 +00:00