Commit Graph

1301 Commits (bfe65eaf7a92bf4be316b3bea635233b57f7dc85)

Author SHA1 Message Date
Gabor Juhos f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
Felix Fietkau a4c8d4e377 build: make the color of the 'configuration out of sync' warning red to make it harder for users to overlook
SVN-Revision: 36082
2013-03-17 21:12:02 +00:00
Gabor Juhos 07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36039
2013-03-15 14:39:51 +00:00
Felix Fietkau 1f77bfff96 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>

SVN-Revision: 35900
2013-03-07 17:32:29 +00:00
Steven Barth ed083586aa netfilter: Fix typo in last commit
SVN-Revision: 35899
2013-03-07 09:30:52 +00:00
Steven Barth 62ea398cd8 iptables: Add missing IPv6 builtin modules
SVN-Revision: 35898
2013-03-07 08:48:41 +00:00
Jo-Philipp Wich 9ee69a94b7 include: make firewall3 the default
SVN-Revision: 35888
2013-03-05 13:41:56 +00:00
Gabor Juhos a87a96da67 kernel: update linux 3.8 to 3.8.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35868
2013-03-04 08:43:55 +00:00
Gabor Juhos 26fbc15a86 kernel: update linux 3.8 to 3.8.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35862
2013-03-03 13:58:52 +00:00
Gabor Juhos 23b3b3a194 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35860
2013-03-03 13:57:40 +00:00
Jonas Gorski 45846230ab 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>

SVN-Revision: 35716
2013-02-21 11:45:22 +00:00
Jonas Gorski a48b04e8dc 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>

SVN-Revision: 35715
2013-02-21 11:45:20 +00:00
Jonas Gorski d0891e0ae8 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>

SVN-Revision: 35714
2013-02-21 11:45:18 +00:00
Jonas Gorski 88ff7e3f23 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>

SVN-Revision: 35713
2013-02-21 11:45:16 +00:00
Gabor Juhos ed0f43f1e2 kernel: update linux 3.8-rcX to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35672
2013-02-19 09:17:38 +00:00
Gabor Juhos 3f749d1e8e kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35644
2013-02-17 21:32:42 +00:00
Gabor Juhos 162b8e23a5 kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35604
2013-02-15 07:36:15 +00:00
Gabor Juhos bae4bfe3f8 kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35571
2013-02-12 09:51:11 +00:00
Gabor Juhos 08ff976720 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35476
2013-02-04 10:02:56 +00:00
Gabor Juhos b20cb26ed7 package/kernel: xt_NOTRACK has been removed in 3.7-rc1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35475
2013-02-04 10:02:52 +00:00
Luka Perkov 2477bab03e include/image.mk: export ubifs image from mkfs.ubifs
SVN-Revision: 35473
2013-02-03 21:00:24 +00:00
Gabor Juhos 562ba537fc kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35390
2013-01-29 18:29:45 +00:00
Felix Fietkau 8933b918cd 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

SVN-Revision: 35320
2013-01-26 16:26:13 +00:00
Felix Fietkau 7809d73fd2 kernel: fix module export stripping
SVN-Revision: 35319
2013-01-26 16:26:04 +00:00
Gabor Juhos 15be1c9ee7 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35318
2013-01-24 17:08:37 +00:00
Gabor Juhos 0de21d9747 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35216
2013-01-18 11:44:42 +00:00
Florian Fainelli d85ec2b936 kernel: add missing CONFIG_KALLSYMS_UNCOMPRESSED symbol
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35180
2013-01-15 19:55:45 +00:00
Jo-Philipp Wich 03a50b9087 netfilter.mk: add addrtype match to iptables-mod-extra (kmod-ipt-extra)
SVN-Revision: 35155
2013-01-14 16:12:56 +00:00
Gabor Juhos c19c30cefd kernel: update linux 3.7 to 3.7.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35100
2013-01-12 11:43:08 +00:00
Florian Fainelli ce5dd3b9e2 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>

SVN-Revision: 35097
2013-01-11 16:44:26 +00:00
Florian Fainelli 3a57cd4929 netfilter: xt_NOTRACK is incorporated in xt_CT as of 3.8-rc3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35087
2013-01-10 17:20:29 +00:00
Felix Fietkau f3d5f6ccb0 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)
SVN-Revision: 34914
2012-12-29 11:12:31 +00:00
Felix Fietkau 41a039f464 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
SVN-Revision: 34909
2012-12-28 19:17:19 +00:00
Felix Fietkau de707ac97e build: reduce the size of package metadata a bit to keep package list files smaller
SVN-Revision: 34871
2012-12-22 19:56:21 +00:00
Felix Fietkau dc0faf077c build: remove the default useless MAINTAINER value
SVN-Revision: 34868
2012-12-22 18:56:16 +00:00
John Crispin b21458709a fix ipv4 nat on 3.7 by adding missing iptables modules
SVN-Revision: 34841
2012-12-22 10:17:29 +00:00
Felix Fietkau 76f0fd210f kernel: fix module packages postinst by pointing to the new functions.sh location
SVN-Revision: 34804
2012-12-20 15:29:37 +00:00
Gabor Juhos 8903f8581b kernel: update linux 3.7 to 3.7.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34760
2012-12-18 15:13:31 +00:00
Gabor Juhos cfc6489579 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>

SVN-Revision: 34750
2012-12-18 14:50:42 +00:00
Gabor Juhos 44b9898251 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34748
2012-12-18 14:41:16 +00:00
John Crispin e9c0b95829 fixes uapi helper define
SVN-Revision: 34715
2012-12-16 11:04:27 +00:00
John Crispin 5deddbf918 fix tapi dependency
SVN-Revision: 34696
2012-12-15 02:00:50 +00:00
John Crispin 0803171cd1 adds wrapper for uapi directory
SVN-Revision: 34683
2012-12-15 01:59:14 +00:00
Jo-Philipp Wich 5ba9873914 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

SVN-Revision: 34681
2012-12-15 00:05:35 +00:00
Gabor Juhos 2b378d11c8 kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34639
2012-12-11 20:14:39 +00:00
Florian Fainelli ed15c452a1 kernel: update to 3.7 final
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34626
2012-12-11 11:31:17 +00:00
Jo-Philipp Wich 8420783407 netfilter.mk: fix packaging of xt_LOG.ko, it moved between 3.3.8 and 3.6.x
SVN-Revision: 34625
2012-12-11 09:53:50 +00:00
Gabor Juhos 2581173660 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34578
2012-12-08 15:01:33 +00:00
Florian Fainelli 5698062707 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>

SVN-Revision: 34498
2012-12-04 22:59:05 +00:00
Florian Fainelli 592aa97626 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>

SVN-Revision: 34473
2012-12-04 16:19:09 +00:00
Jo-Philipp Wich 5d253542d7 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.

SVN-Revision: 34460
2012-12-02 18:35:47 +00:00
Felix Fietkau 24b31c9428 kernel: fix stripping symbol exports
SVN-Revision: 34458
2012-12-02 17:42:17 +00:00
Felix Fietkau 720ccbd95d kernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based dependencies
SVN-Revision: 34450
2012-12-02 15:26:24 +00:00
Gabor Juhos d90e805fe6 build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
The genext2fs tool will 'reserve' 5% of the image size by default,
apparently by creating a huge lost+found directory. In fact it seemed to
be much more than 5% in practice — I saw an image with 8MiB used, and
recovered about 2MiB of it by deleting the 'empty' lost+found directory:

/dev/loop0         48377  8482     37438  19% /mnt/spare
 # rmdir lost+found/
/dev/loop0         48377  6014     39906  14% /mnt/spare

This makes it configurable, but leaves it at the genext2fs default
of 5% for now. It should probably be changed to default to zero, but
that can be a separate patch.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34408
2012-11-29 17:37:15 +00:00
Gabor Juhos 3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34402
2012-11-29 07:42:19 +00:00
Florian Fainelli 7196f5d7c8 image.mk: don't squash file permissions in JFFS2 images
Currently we call mkfs.jffs2 --squash, which will change
both file permissions and owners.

If we have some file with suid bits, it will clear these bits.

Thus it's enough to just squash file owners, by replacing that
argument to --squash-uids.

Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34397
2012-11-27 18:42:45 +00:00
Florian Fainelli 6b63716262 add preliminary support for musl
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.

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

SVN-Revision: 34314
2012-11-23 20:02:29 +00:00
Jo-Philipp Wich 9079032833 include: use $(DIR_SUFFIX) in $(KERNEL_BUILD_DIR) to separate build_dir/linux-* directories when building different libc implementations in the same buildroot
SVN-Revision: 34299
2012-11-22 13:43:24 +00:00
Hauke Mehrtens d648dad7fa kernel: fix loading of nf_nat_irc
nf_nat_irc depends on nf_conntrack_irc and it should be defined after that.
This fixes a problem introduced in r34247.

SVN-Revision: 34251
2012-11-18 21:18:37 +00:00
Imre Kaloz 935ca3f3eb add 3.7-rc6 support (patch 820 still has to be fixed)
SVN-Revision: 34247
2012-11-18 18:52:38 +00:00
Imre Kaloz 0fa21ec3eb use xz compressed kernel tarballs
SVN-Revision: 34228
2012-11-18 08:49:08 +00:00
Gabor Juhos ff1e854511 kernel: update linux 3.6 to 3.6.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34227
2012-11-18 08:41:31 +00:00
Imre Kaloz 8f7ea44df0 we don't support kernels < 3.3
SVN-Revision: 34226
2012-11-18 08:39:10 +00:00
Imre Kaloz 996f48b4a3 we only support v3.x kernels
SVN-Revision: 34225
2012-11-18 08:38:26 +00:00
Jo-Philipp Wich d3e90ba7a7 buildroot: isolate the .install stamp files for build variants (#12279)
This fixes missing embedded packages if multiple build variants are selected in
the build config, e.g. missing ppp if CONFIG_PACKAGE_ppp=y and
CONFIG_PACKAGE_ppp-multilink=m .

SVN-Revision: 34106
2012-11-07 16:15:22 +00:00
Gabor Juhos e8669729bc kernel: update linux 3.6 to 3.6.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34086
2012-11-05 13:22:09 +00:00
Gabor Juhos 07a762c4c5 kernel: update linux 3.6 to 3.6.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34042
2012-10-31 20:09:39 +00:00
Florian Fainelli 451803c51a kernel-defaults: factor common code handling initramfs options
While at it, reindent so it is more in-line with the rest of the file.

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

SVN-Revision: 34034
2012-10-31 17:32:37 +00:00
Felix Fietkau b495423a22 build: increase file descriptor count limit for the build, some systems (e.g. Mac OS X default to 256, which is too little for some parallel builds)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34023
2012-10-31 00:23:47 +00:00
Florian Fainelli 246e563cb7 properly reindent Kernel/Prepare/Default
SVN-Revision: 34014
2012-10-30 16:56:03 +00:00
Gabor Juhos 87186c5ed4 kernel: update linux 3.6 to 3.6.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33982
2012-10-28 18:59:39 +00:00
Florian Fainelli 3948c077c9 make CXX_DEPENDS also depend on INSTALL_LIBSTDCPP
SVN-Revision: 33908
2012-10-24 13:05:10 +00:00
Imre Kaloz 949b46d13d linux 3.6 support (work in progress)
SVN-Revision: 33897
2012-10-23 12:21:34 +00:00
Hamish Guthrie 81a3d9ba31 licensing: Add licensing metadata to many packages Two new variables are introduces to many packages, namely PKG_LICENSE and PKG_LICENSE_FILES - there may be more than one license applied to packages, and these are listed in the PKG_LICENSE variable and separated by spaces. All relevant license files are also added to the PKG_LICENSE_FILES variable, also space separated.
The licensing metadata is put into the bin/<platform>/packages/Packages file
for later parsing. A script for that is on it's way!

SVN-Revision: 33861
2012-10-19 15:34:28 +00:00
Felix Fietkau c6ba19c70e toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
SVN-Revision: 33807
2012-10-17 13:03:08 +00:00
Felix Fietkau 6d1884c583 build: fix host build stampfile usage, fixes spurious errors with missing opkg host binary after deleting the staging dir
SVN-Revision: 33776
2012-10-15 13:19:41 +00:00
Jo-Philipp Wich 7074927533 autotools.mk: add a gettext-version PKG_FIXUP (#11236)
This fixup aligns the required gettext version in shipped macros to the one
available in $(STAGING_DIR_HOST).

SVN-Revision: 33708
2012-10-10 17:53:51 +00:00
Imre Kaloz c5e5e70ab0 it's time to break the barriers
SVN-Revision: 33666
2012-10-08 13:12:37 +00:00
Felix Fietkau 2d7eaf2e15 build: allow the package maintainer info to be specified globally for a source package
SVN-Revision: 33659
2012-10-08 11:40:57 +00:00
Felix Fietkau 6f752c725a build: create pkginfo dir earlier to avoid build breakage
SVN-Revision: 33633
2012-10-06 22:42:57 +00:00
Felix Fietkau 44cd20b802 build: rework the package/install step - collect package install lists during package/compile, then install all packages at once
SVN-Revision: 33631
2012-10-06 16:01:06 +00:00
Jo-Philipp Wich 1cd6237979 version.mk: ensure that %S is always populated with a subtarget identifier, fallback to "generic" if no subtarget exists
SVN-Revision: 33534
2012-09-24 18:26:48 +00:00
Felix Fietkau ed2bf29be5 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
2012-09-23 09:50:01 +00:00
Felix Fietkau 7950f996e0 build: pass MAKE_JOBSERVER via environment to avoid leaking it to error messages
SVN-Revision: 33521
2012-09-23 09:49:52 +00:00
Felix Fietkau d406a5208f include/netfilter.mk: remove a few obsolete lines
SVN-Revision: 33518
2012-09-23 08:25:32 +00:00
Felix Fietkau 1c108d3318 host-build: add HOST_MAKE_FLAGS similar to package MAKE_FLAGS
SVN-Revision: 33509
2012-09-22 20:10:28 +00:00
Jo-Philipp Wich b06f4dc972 make packages depend on +librt and +libpthread by default if eglibc is in use
SVN-Revision: 33480
2012-09-19 15:30:40 +00:00
Felix Fietkau b086475e1e build: ensure that package/host-build build system code does not run in parallel, fixes rare spurious parallel build failures
SVN-Revision: 33445
2012-09-17 11:17:26 +00:00
Felix Fietkau f19dbfff91 build: add jobserver support for host builds
SVN-Revision: 33423
2012-09-15 12:34:48 +00:00
Felix Fietkau c4198ce48d build: move the -j flag to package.mk instead of grabbing it from makeflags, otherwise it occasionally gets omitted on full builds
SVN-Revision: 33422
2012-09-15 12:16:14 +00:00
Felix Fietkau 482a6d4aea kernel: suppress redundant calls to headers installation
SVN-Revision: 33421
2012-09-15 12:16:11 +00:00
Felix Fietkau 8091d3f2e8 kernel: remove the explicit kernel make call for "oldconfig prepare scripts", the kernel build system has proper dependencies
SVN-Revision: 33420
2012-09-15 12:16:07 +00:00
Felix Fietkau be6f437649 build: add a config option for passing the top-level make jobserver to packages that have parallel build enabled, significantly improves parallelization and gets rid of CPU overcommit during intra-package parallel builds
SVN-Revision: 33414
2012-09-15 10:21:24 +00:00
Florian Fainelli 6bc394d90f add sparc specific site files
SVN-Revision: 33405
2012-09-14 15:36:41 +00:00
Jo-Philipp Wich 8726a422cd do not pass optimization flags in HOST_CPPFLAGS (#12153)
SVN-Revision: 33351
2012-09-09 21:35:42 +00:00
John Crispin e6e331ca67 unify tapi deps
SVN-Revision: 33160
2012-08-13 11:08:13 +00:00
Jo-Philipp Wich 29b91ef01a introduce a menuconfig option to turn off static linking of host utilities
SVN-Revision: 33154
2012-08-13 00:26:34 +00:00
Jo-Philipp Wich 095fe8743b prereq-build.mk: do not perform static linking tests on Darwin
SVN-Revision: 33139
2012-08-12 12:34:28 +00:00
Jo-Philipp Wich 94a96244f6 host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems
SVN-Revision: 33138
2012-08-12 12:34:25 +00:00
Jo-Philipp Wich 67edc7ec63 add remaining missing build prereq checks
SVN-Revision: 33122
2012-08-11 00:05:18 +00:00