Commit Graph

1783 Commits (8f2ef37e88a553632d72b323bb645e7d0b0dc2fa)

Author SHA1 Message Date
Jo-Philipp Wich 751a531bff CC: toplevel.mk: fix LD_LIBRARY_PATH for host binaries
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r46394

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-17 11:37:47 +00:00
Hauke Mehrtens 4e7d2ffce5 CC: kernel: update 3.18 to 3.18.18
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.18

Backport of r46299, r46303 and r46308.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-12 16:02:34 +00:00
Jonas Gorski ee00711ff8 CC: kernel: update 3.18 to 3.18.17
Changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17

Backport of r46150.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-01 00:32:10 +00:00
Jonas Gorski b9c13dc540 kernel: update 3.18 to 3.18.16
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16

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

Backport of r46011.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-17 10:22:04 +00:00
Felix Fietkau 459d51075e version.mk: adjust for CC release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-15 13:42:43 +00:00
Felix Fietkau a7bea11085 kernel: remove linux 4.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 18:17:47 +00:00
Felix Fietkau f8d7a53dfe include/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file.
Hello,

I found out that in some rare cases grep can treat Makefile as a binary file. That happened to me on UTF-8 Gentoo if Makefile contained a character which was from extended ASCII table.
Without this patch the output of the grep command in the $(FILELIST) target is not valid (contains line "Binary file matches") and following commands fail to create feed index file.

Best Regards,
Martin Strbacka

Signed-off-by: Martin Strbacka <martin.strbacka@nic.cz>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:43:22 +00:00
Jo-Philipp Wich 9f3ee855a6 include: image.mk: ensure that $(KDIR)/tmp exists in the IB case as well
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-01 18:00:35 +00:00
Felix Fietkau e2ad5c96d5 build: do not call initramfs build from within the image builder
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 13:41:31 +00:00
Felix Fietkau 9272d8d2f7 build: in new image building code, do not rebuild kernel images in the image builder
Some kernel images need to be wrapped in a loader, which cannot be built
without a working toolchain.
Also, this speeds up the image builder run.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-29 13:41:21 +00:00
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