Felix Fietkau
0f9bf923fe
build: store initramfs kernels in $(KDIR)/tmp - prevents them from being included in the image builder tarball
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 13:41:02 +00:00
Felix Fietkau
f40fb56702
build: store firmware images in $(KDIR)/tmp - prevents them from being included in the image builder tarball
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 13:40:55 +00:00
Jo-Philipp Wich
e72420dc09
include: remove lvm2 from nas package collection
...
Since lvm2 is only available in feeds we must not include it by default.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 09:58:09 +00:00
Jo-Philipp Wich
ace825551c
feeds: use common macro "FeedSourcesAppend" to populate opkg configurations
...
This introduces a common macro to assemble the correct url templates to
avoid code duplication and have the feed config handling in a central place.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-28 09:47:37 +00:00
Imre Kaloz
dc562c4e6c
generic/4.0: update to 4.0.4
...
Update kernel sources and refresh some patches.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 09:31:16 +00:00
Jo-Philipp Wich
3fe418e4e0
include: clean package staging dir files before configure
...
This is required to allow packages to ship libraries with a different API.
Previously the linker would favor the old shared libraries in STAGING_DIR
instead of the just compiled ones in PKG_BUILD_DIR.
Avoid that problem by clearing the package staging files right after
prepare.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 09:17:13 +00:00
Jonas Gorski
0d9df306c8
image.mk: make image too big warnings more visible
...
Output warnings through stderr to allow them to be easilier spotted
when building with V=w.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-25 08:27:55 +00:00
Jonas Gorski
9157f62043
kernel: update 3.18 to 3.18.14
...
Changelogs:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14
Build tested on brcm63xx and ipq806x, runtested on brcm63xx.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-21 19:32:46 +00:00
Felix Fietkau
13700f454c
image: disable compile target within image builder
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-11 09:17:51 +00:00
Felix Fietkau
31b0a25f6a
build: disable initramfs build within image builder
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-11 09:17:39 +00:00
Felix Fietkau
56123e0b75
build: make initramfs kernel builds depend on the image prepare step
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-11 09:07:58 +00:00
Felix Fietkau
9c26eee61f
build: add support for adding a per-device compile step in the new image building code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-11 09:07:21 +00:00
Felix Fietkau
59606690fb
include: make dtb argument optional in MkFIT
...
As mkits.sh makes the -d argument optional, we'll make this same
argument optional in the MkFIT function as well.
With this change, MkFIT can be used both to generate FIT images with DT,
and without DT.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-10 11:46:50 +00:00
Felix Fietkau
4e90bd649a
build: don't call prereq for any package/symlinks rules
...
Most of the time, we want to make sure OpenWrt has been configured and
setup before start running make. However, in case of package/symlinks,
forcing prereq as a dependency creates multiple issues:
*when executed on a clean workspace, it will prompt for user input
and open a menuconfig window before executing the feeds command
*the only way around that is to provide a .config. However, the "prereq"
target would then run a "make defconfig", which will remove all the
packages in the .config but from external feeds, as feeds have not been
installed yet.
The only way to currently work around this, is to generate a fake config
by running "make defconfig", then "make package/symlinks", copy the real
config (which at this point disregards the previously generated config),
and run make defconfig again. Something like this:
make defconfig
make package/symlinks
cp real.config .config
make defconfig
This change is removing the need for the first defconfig, making the
process more logical for OpenWrt users using the package/symlinks target.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-10 11:17:29 +00:00
Imre Kaloz
079ab1e22a
generic/4.0: update to 4.0.1
...
Also refresh one patch.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-03 18:04:46 +00:00
Felix Fietkau
6ce964642d
package-ipkg.mk: fix typo (patch from #19540 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-23 08:27:22 +00:00
Imre Kaloz
4e7ed985dd
generic/4.0: bump to final version
...
Linux 4.0 was released on 2014-04-12
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-22 09:35:36 +00:00
Jo-Philipp Wich
17edbdb9a6
all: replace genext2fs with make_ext4fs
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-20 13:57:43 +00:00
Felix Fietkau
d08f0c7353
netfilter.mk: remove obsolete ip_nat_ftp related line
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-20 13:36:25 +00:00
Felix Fietkau
bddffcecf3
netfilter.mk: move IRC conntrack/nat helpers to kmod-nf-nathelper-extra
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-20 13:36:02 +00:00
Felix Fietkau
7184eecb5f
cmake.mk: enable -Bsymbolic-functions by default for linking shared libs, slightly improves performance and compression
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-19 18:33:07 +00:00
Felix Fietkau
efb4de4094
image.mk: do not emit multiple target definitions for kernel images
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-18 21:35:22 +00:00
Felix Fietkau
725067eb41
image.mk: force rebuild of kernel dependent parts - fixes auto-rebuild on DTS changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-18 19:32:20 +00:00
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