Commit Graph

1750 Commits (f8f24da4dfb296c6a4fd16a037442883988200f5)

Author SHA1 Message Date
Felix Fietkau 3ed309fd91 build: tell users to do non-paralle builds on errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-16 12:18:26 +00:00
John Crispin dcc0f0aacd opkg: drop md5 in favour of sha256
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 19:00:14 +00:00
Felix Fietkau 4a7f3ec126 build: replace the deprecated find argument -perm +0100 with /0100 (#19480)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 12:49:30 +00:00
Felix Fietkau ea5b63b40a build: set CCACHE_DIR for host builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-14 00:00:55 +00:00
Felix Fietkau 9882aa8649 kernel: finally remove layer7 filter support
it has been non-functional for years and caused numerous memleaks and
crashes for people that tried to enable it.
it has no maintained upstream source, and it does not look like it's
going to be fixed any time soon

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 22:23:14 +00:00
Felix Fietkau 7df2b75a96 netfilter.mk: remove bogus NAT related kernel module entries (#19451)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 12:22:39 +00:00
Felix Fietkau 6fdf1449f4 netfilter.mk: drop obsolete kernel version dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 12:22:28 +00:00
Luka Perkov 2b0dd36cdd include: drop old kernel versions
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:28:20 +00:00
John Crispin e7eaef8bc0 modules: fix postinst generation for kernel modules
Fixes ticket #19352.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 20:39:44 +00:00
Felix Fietkau ff4a22a3ec image.mk: rework FILESYSTEM evaluation order to fix some build issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-08 09:26:10 +00:00
Imre Kaloz 0d7d44e1c1 generic/4.0: upgrade to 4.0-rc7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 21:34:38 +00:00
Imre Kaloz 0391fa8567 generic/3.18: upgrade to 3.18.11
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 21:29:26 +00:00
Felix Fietkau a8aab06962 cmake.mk: add host build support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-06 19:37:42 +00:00
Felix Fietkau ede7027804 build: include variant name in STAMP_INSTALLED
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 18:33:25 +00:00
Felix Fietkau 257105be9e image.mk: export the FILESYSTEM variable to build commands
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 15:22:26 +00:00
Nicolas Thill cddd71ec0c include/kernel.mk: add KernelPackage/conffiles macro
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:53:34 +00:00
John Crispin 450ac46838 config: add an option to enable KPROBE
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:33:04 +00:00
John Crispin 12102917e0 nls.mk: fix typo
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:31:38 +00:00
Imre Kaloz 5764ab1625 generic/4.0: upgrade to 4.0-rc6
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:22:28 +00:00
Imre Kaloz 5d823c725d generic/3.18: upgrade to 3.18.10
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:21:13 +00:00
Felix Fietkau 0079664f4f package-ipkg.mk: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 18:31:08 +00:00
Felix Fietkau c41af33d2a package-ipkg.mk: add missing semicolon (#19381)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 18:29:30 +00:00
Felix Fietkau e72d796d88 build: make device image kernels depend on Image/Prepare step
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 16:52:03 +00:00
Felix Fietkau a42b37dd86 build: ensure that preinst and postrm are executable (fixes #19372)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 15:13:27 +00:00
Felix Fietkau 3166bd1ea8 image.mk: fix initramfs kernel build instructions leaking across device sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 13:03:58 +00:00
Felix Fietkau 50e0e40d43 kernel: only run kernel module list through version filter where version specific items are present - cuts package/kernel/linux/compile time in half
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 07:35:42 +00:00
Felix Fietkau 083034a599 tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 07:35:26 +00:00
Felix Fietkau 5d8c92d1db build: make postinst/prerm scripts executable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 07:35:19 +00:00
Luka Perkov a4a0fa62d6 include: remove trailing whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 07:29:18 +00:00
Felix Fietkau 136d504c34 netfilter: add missing module/symbol
ipv4 symbol was added but ipv6 symbol is missing

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 05:16:13 +00:00
Felix Fietkau c0bb79555c build: fix CMake assembly builds with ccache
CMAKE_ASM_COMPILER is automatically set to CMAKE_C_COMPILER by CMake, but
CMAKE_C_COMPILER_ARG1 is lost. This causes assembly builds to fail when ccache
is enabled (for example the package fastd on x86).

Fix this by explicitly defining CMAKE_ASM_COMPILER and CMAKE_ASM_COMPILER_ARG1.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 05:12:58 +00:00
Felix Fietkau bb896c8800 build: add missing sitefile for i386
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 18:26:28 +00:00
Felix Fietkau 52ea8edba3 build: clean up sitefiles, make them per-arch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 13:38:34 +00:00
Felix Fietkau 9cf98d38ca build: ignore errors on copying firmware binaries from $(KDIR) to $(BIN_DIR)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 18:50:13 +00:00
Imre Kaloz 31c9d90914 generic/4.0: upgrade to 4.0-rc5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 14:06:42 +00:00
John Crispin 3d898d1887 include: add a seccomp filter install wrapper
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 10:57:56 +00:00
Imre Kaloz b22936646d drop 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 09:42:59 +00:00
Felix Fietkau aac0c4d345 include/image.mk: define variable FILESYSTEM
Set it to the filesystem which is build. mktplinkfw need to know which filesystem
is used.
FILESYSTEM can be squashfs, jffs2-64k, ...

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 17:58:00 +00:00
Felix Fietkau 8db4079bb3 image.mk: allow image build code to run a per-filesystem prepare step
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 14:30:53 +00:00
Felix Fietkau 658472564b build: remove obsolete references to cris and avr32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-24 10:07:40 +00:00
John Crispin fd0fbff63d package-defaults.mk: set DISABLE_NLS only if not CONFIG_BUILD_NLS
set DISABLE_NLS only if CONFIG_BUILD_NLS NOT set.
like DISABLE_IPV6 which depends on CONFIG_IPV6

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 21:48:18 +00:00
John Crispin 842ad7cb8a build: define STAMP_CONFIGURED recursively
Defining STAMP_CONFIGURED statically caused it not to reflect changes to
PKG_CONFIG_DEPENDS made after including package.mk, like the additional options
added by feeds.mk for all packages.

Furthermore, as STAMP_CONFIGURED_WILDCARD was already defined recursively, the
patsubst in its definition would never match, and in consequence, the stamps
were never removed. This caused packages not to be rebuilt when they should have
been.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 21:47:53 +00:00
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