Commit Graph

1708 Commits (a61c79114d96244fdacc8b4799f27906b93fdc6f)

Author SHA1 Message Date
Felix Fietkau ec6b4b35c6 build: add optional dependency on libssp to all non-kernel packages
When enabling SSP_SUPPORT, a lot of packages fail during compile phase
with the following error:

Package X is missing dependencies for the following libraries:
libssp.so.0

This can be solved by adding an optional dependency on libssp to all
those packages, but as there are quite a few packages both in OpenWrt
core and in the package repository, it might make sense to add this
optional dependency to all non-kernel packages, instead of polluting
lots of package dependency lines with it.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 16:50:50 +00:00
Felix Fietkau dfe43f6c35 netfilter: clean up compatibility code for old kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 11:01:26 +00:00
Felix Fietkau 5d4be21553 kernel: bump to 3.14.35, 3.18.9, 3.19.1 and 4.0-rc4
also refresh generic patches for 3.14, 3.18, 3.19 and 4.0
targets might need a minor refresh as well, however, it looks
like everything still applies cleanly with occasional small
offsets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-18 18:21:08 +00:00
Jonas Gorski 88ea80c8f3 buildroot: make it easier to build all kmods
Split out kmods from ALL to make it easier to create local builds that
are compatible kmod-wise with releases.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:51:54 +00:00
Felix Fietkau 4ca62eb7a5 cmake: include external toolchain directory in CMAKE_FIND_ROOT_PATH (fixes #19074)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:51:45 +00:00
Felix Fietkau d2c8d763c0 build: use different grep strings for scanning package vs target metadata
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 11:07:29 +00:00
John Crispin d5f527f3ce toolchain: The glorious return of glibc, ver 2.21
It's the eglibc packaging with a bit of spit-polishing. And testing. :-)

[blogic: merged glibc and eglibc into 1 and made eglibc a glibc variant]

Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 19:50:57 +00:00
John Crispin 54ed570f69 netfilter: fix nf_nat_redirect dependencies for 3.19 and 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:24:22 +00:00
Jonas Gorski bd24326bdd generic: upgrade to 3.14.34
Fixes several issues in the network stack.

Full changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.33
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.34

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 14:39:52 +00:00
Jonas Gorski cdd4c27ac6 generic: upgrade to 3.18.8
Fixes several issues in the network stack.

Full changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.8

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 14:39:49 +00:00
Michael Büsch 02d68b3441 Fix download URL of the 4.x kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-01 20:44:33 +00:00
Felix Fietkau e5230b2b4e build: move tmp/.prereq-build to staging_dir/host to gracefully handle staging_dir deletion
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 07:34:24 +00:00
Rafał Miłecki 8f979de5a1 generic: early (incomplete!) 4.0 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-23 22:59:53 +00:00
Jo-Philipp Wich e51055dc1d include: netfilter: fix packaging of LOG target for Linux >= 3.16 (#19031)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-18 13:28:28 +00:00
Imre Kaloz 04833b01dd fix typo
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 12:21:34 +00:00
Imre Kaloz 9f5845114a generic: upgrade to 3.18.7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 10:45:12 +00:00
Luka Perkov d303640263 kernel: switch 3.19 from -rc5 to release .0
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-10 22:36:59 +00:00
Jo-Philipp Wich 7ffcf90d37 include: export staging_dir/host/bin path from within host.mk (#18957)
We need to do that to pickup the prereq-build prepared symlinks for auxillary
operations like metadata scanning.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-10 15:49:17 +00:00
John Crispin 9fe2973595 base-files: taint the build if the override mechanism is used
If some packages are overridden (using ./scripts/feeds -f), add a new
taint flag in /etc/openwrt_release. We'll use the CONFIG_OVERRIDE_PKGS
variable reported through the .config to detect it.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:10:07 +00:00
John Crispin 95a718f81b build: propagate override information to .packageinfo
Packages overridden with "./scripts/feeds -f" will show up with an
"Override: <original-package-name>" in .packageinfo.

This will be useful to create a corresponding option in .config and
use this information during the build process.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:09:31 +00:00
John Crispin 045c40fb05 build: allow openwrt.git packages to be replaced by feeds
Currently, replacing a package available in openwrt.git requires
modifications in openwrt.git, or requires duplicating the package in a
feed but with a different name, which causes all kind of problems
related to dependencies (all packages selecting it would have to be
modified accordingly to select the new package).

With this change, if a package with the same name is present both in
feeds/ and package/ folders, the one in feeds/ can override the one
in package/, both in the menuconfig and during the build, by passing the
"-f" option to "./scripts/feeds install"

This mechanism is particularly useful for vendor tree, or in general for
application which needs to replace one particular package which exists
within openwrt.git by a custom/newer version.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:09:23 +00:00
Jo-Philipp Wich 5f98f96407 include: remove SDK specific target from toplevel.mk
Instead introduce a generic "make prepare" target which is executed if
include/prepare.mk exists.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 22:54:19 +00:00
Jo-Philipp Wich 9e9fee4f2a include: cmake: prevent inclusion of rpath in binaries
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 22:54:15 +00:00
Luka Perkov 5fb250390c kernel: update 3.18 to 3.18.6
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 12:01:37 +00:00
Luka Perkov 6ca16eadc3 kernel: update 3.14 to 3.14.32
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 17:48:33 +00:00
Felix Fietkau d09ab54291 build: accept apple llvm as fallback for gcc/g++
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 10:07:31 +00:00
Felix Fietkau 435c83154e include/prereq.mk: fix echo commands with simple /bin/sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 10:07:05 +00:00
Jo-Philipp Wich 65180dee3d include: fix prereq tests for perl and file (#18911)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 17:38:54 +00:00
Jo-Philipp Wich a7693a268f include: use SHELL, not BASH for HOST_CONFIGURE_VARS
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 13:14:29 +00:00
Jo-Philipp Wich 07e19452d8 include: rework git prereq test to not require 'man'
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 11:50:08 +00:00
Jo-Philipp Wich 875eefa24c include: remove static tool linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 00:00:47 +00:00
Jo-Philipp Wich 072d257732 include: let HOSTCC default to $(CC), not gcc
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:50 +00:00
Jo-Philipp Wich a1ababcdc9 include: don't rely on perl for printing prereq errors
Perl might not be present while checking prereqs, e.g. on a fresh
FreeBSD install.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:46 +00:00
Jo-Philipp Wich e47a17f901 include: set shell to "sh" for prereq tests
Bash is not guaranteed to be present, e.g. on a fresh FreeBSD install
so perform prereq tests with /bin/sh.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:39 +00:00
Jo-Philipp Wich 8a73b06ead include: remove host command tests from host.mk
Those tests are part of prereq-build.mk now.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:31 +00:00
Jo-Philipp Wich 87511c86a7 include: prereq-build.mk: use TestHostCommand and SetupHostCommand
Also move tests from tools/Makefile and include/host.mk here to have all tests
in a central place.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:12 +00:00
Jo-Philipp Wich e550abd161 include: test build prereqs before preparing tempinfo
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:09 +00:00
Jo-Philipp Wich b4e80c13ae include: add TestHostCommand and SetupHostCommand macros
Those macros allow testing various commands on the host system, also process the
prereq tests in the order they're declared.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:57:02 +00:00
John Crispin 68d130e2e8 generic/3.18: update to 3.18.5
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-03 10:11:18 +00:00
John Crispin 17a17ddc41 Fix possible fail to check for dependencies
Few characters in filenames (a plus sign, a dot) can be interpreted
specially by grep. This can lead to the omission of missing package
dependency. For example if we would have "some.file.so" then it
matches also "some2file.so". -F switch off special meaning
of any character and -x match against whole line.

Signed-off-by: Sławomir Demeszko <s.demeszko@wireless-instruments.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-03 10:11:06 +00:00
Jo-Philipp Wich 6e4e42727b include: apply version filter on AutoLoad and AutoProbe arguments
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 13:55:44 +00:00
Nicolas Thill f380abfbc2 include: improve 'gettext-version' fixup
* enclose the fixup in brackets
 * match anything in the call to AM_GNU_GETTEXT_VERSION
 * call it early (before autoreconf if both are specified)
 * chain a call to autoreconf since it messes with configure.ac

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 08:15:51 +00:00
Nicolas Thill 1764dc90c6 include: don't use extended regex for deps checking
Closes: #18851

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 08:15:46 +00:00
Jo-Philipp Wich a22f276947 include: use anchored patterns for dependency checking
Anchor search pattern when testing dependencies, otherwise the check may
succeed in cases where it shouldn't, e.g. when matching "udp_tunnel.ko"
against "ip6_udp_tunnel.ko".

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 21:59:17 +00:00
Jo-Philipp Wich b882a8cd43 include: apply version filter on kmod file list
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 15:51:05 +00:00
Jo-Philipp Wich 22a8ac2816 include: pass kernel version when generating kconfig overrides
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 15:51:00 +00:00
Jo-Philipp Wich 87d1175871 netfilter: add missing symbols and modules for Linux 3.18+
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 10:22:17 +00:00
Luka Perkov afcc1ab062 kernel: update 3.14 to 3.14.30
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 01:00:08 +00:00
Luka Perkov 60fade7125 kernel: update 3.14 to 3.14.29
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 17:29:41 +00:00
Imre Kaloz eac842c52b generic: add preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:20:39 +00:00