Commit Graph

1456 Commits

Author SHA1 Message Date
Felix Fietkau
a1a5f59ea3 build: decouple the mips16 support flag from the toolchain
Add the flags from package.mk instead, and leave libc and gcc
unaffected.

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

SVN-Revision: 37770
2013-08-14 13:02:29 +00:00
Jo-Philipp Wich
73a584f912 include: cmake: pass toolchain directory to default root find path as well
SVN-Revision: 37737
2013-08-07 13:54:51 +00:00
Felix Fietkau
8f04792531 kernel: update to linux 3.10.4, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37617
2013-07-29 22:42:22 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Gabor Juhos
e9688455f6 kernel: update 3.10 to 3.10.3
Also refresh 3.10 patches.

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

SVN-Revision: 37546
2013-07-26 07:19:58 +00:00
Felix Fietkau
bb494ed639 kernel: fix remaining initramfs related breakage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37518
2013-07-23 13:11:41 +00:00
Gabor Juhos
ce9e0767b5 image: fix a typo in JFFS2OPTS to fix jffs2 rootfs generation
Due to a typo in the Makefile variable, mkfs.jffs2 is called
without the correct parameters.

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

SVN-Revision: 37514
2013-07-23 10:21:21 +00:00
Gabor Juhos
ef944dcb85 kernel: update 3.10 to 3.10.2
Also refresh 3.10 patches.

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

SVN-Revision: 37502
2013-07-22 15:31:13 +00:00
Gabor Juhos
6a5b4ec7dc kernel: update 3.9 to 3.9.11
Also refresh 3.9 patches.

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

SVN-Revision: 37501
2013-07-22 15:30:56 +00:00
Gabor Juhos
c39b64d78f image: fix initramfs image name
Preserve order of components in initramfs image filename
when doing copy from $(KDIR) to $(BIN_DIR).

Patchwork: http://patchwork.openwrt.org/patch/3811/
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37452
2013-07-19 17:12:45 +00:00
Felix Fietkau
75df42e578 build: SCAN_DEPS handling (fixes package/kernel/linux metadata change detection)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37431
2013-07-19 10:52:56 +00:00
Jo-Philipp Wich
6a559ff95e include: modify kernel.mk to build empty kmod packages if the referenced symbols do not exist in the config
SVN-Revision: 37400
2013-07-18 15:41:09 +00:00
Jonas Gorski
8e12b39d5d build: print missing dependency error to stderr
Allow to see the actual error even when compiling with V=w/V=1 only.

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

SVN-Revision: 37388
2013-07-18 11:29:18 +00:00
Felix Fietkau
5d1c80f002 build: add required exports for dependency tracking
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37387
2013-07-18 11:18:37 +00:00
Felix Fietkau
6640b83a3e build: add kernel modules to package provides info (along with shared libs)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37385
2013-07-18 10:47:00 +00:00
Felix Fietkau
c404cd5bfa netfilter: remove use of obsolete compatibility config symbols for mark and connmark
fixes duplication of xt_mark and xt_connmark module entries

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

SVN-Revision: 37344
2013-07-15 13:08:20 +00:00
Hauke Mehrtens
06accca1d7 kernel: update to kernel 3.10.1 and refresh patches
SVN-Revision: 37275
2013-07-13 22:45:09 +00:00
Hauke Mehrtens
e574f75d16 kernel: update to kernel 3.9.10 and refresh patches
SVN-Revision: 37274
2013-07-13 22:43:10 +00:00
Felix Fietkau
1c742fb388 build: move the XARGS variable out of the host checks, since a working xargs is built in tools/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37228
2013-07-10 15:11:29 +00:00
Jonas Gorski
05ff15a235 include: also check CONFIG_GPIOLIB for GPIO_SUPPORT
Recent kernels removed GENERIC_GPIO and require GPIO capable
targets to select GPIOLIB instead, so check for both symbols.

Fixed #13814.

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

SVN-Revision: 37166
2013-07-04 13:41:50 +00:00
Felix Fietkau
f89b3d42e8 build: remove hotplug2 from DEFAULT_PACKAGES
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37132
2013-07-02 11:14:15 +00:00
Luka Perkov
448decfa8e include: fix path for kernel-generated cpio removal
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37128
2013-07-02 09:59:17 +00:00
Florian Fainelli
5b5fd9f92d include: force a kernel-generated cpio removal and rebuild
Make sure that the kernel rebuilds the initramfs cpio archive file by
deleting it before so we get it re-generated properly.

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

SVN-Revision: 37125
2013-07-01 20:52:00 +00:00
Florian Fainelli
05741a0331 Revert "prereq-build: check for "bc" (#13767)"
Makes all buildbot builds fail; until we get the right software
installed, revert this changeset.

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

SVN-Revision: 37122
2013-07-01 17:57:09 +00:00
Jonas Gorski
96f8c15a36 kernel: update linux 3.10 to 3.10 final
3.10 final is out, so refresh patches and add md5sum.

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

SVN-Revision: 37116
2013-07-01 13:21:06 +00:00
Florian Fainelli
b9831690e4 prereq-build: check for "bc" (#13767)
bc is required by the kernel to compute timeconsts files, add bc to the
list of prereq to build OpenWrt.

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

SVN-Revision: 37108
2013-06-30 17:14:47 +00:00
Florian Fainelli
bc7260a125 buildroot: filter out dtbs KERNELNAME target (#13785)
Do not attempt to copy arch/$(LINUX_KARCH)/boot/dtbs because these are
not real files, fixes #13785.

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

SVN-Revision: 37107
2013-06-30 17:09:21 +00:00
Jonas Gorski
0d9f760f27 kernel: update linux 3.9 to 3.9.8
Includes memory allocation fixes as well as several networking fixes.

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

SVN-Revision: 37103
2013-06-30 13:10:12 +00:00
Florian Fainelli
f5a0a578f8 include/image.mk: do not make initramfs build exclusive
Allow building initramfs along with other types of filesystems.

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

SVN-Revision: 37050
2013-06-27 19:58:35 +00:00
Florian Fainelli
eab95ea467 buildroot: copy KENRNELNAME files to $(KDIR)
In order to support building both normal and initramfs kernel, we will
rebuild the wrappers around the vmlinux ELF binary, copy these with an
appropriate extension when they exist.

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

SVN-Revision: 37048
2013-06-27 19:58:24 +00:00
Florian Fainelli
a890ccd6e0 buildroot: build a second pass kernel if initramfs is enabled
If initramfs is enabled, build a second pass kernel containing the CPIO
rootfs, preliminary work to get non exclusive enabling of initramfs.

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

SVN-Revision: 37047
2013-06-27 19:58:20 +00:00
Florian Fainelli
b729d41d64 buildroot: workaround broken syntax highlighting
GNU Make's subst is always breaking syntax highlighting with at least
vim add the right comments to workaround it.

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

SVN-Revision: 37046
2013-06-27 19:58:16 +00:00
John Crispin
43a3d87b83 package: fix insmod on install
the procd changes broke the postinst insmod.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37015
2013-06-22 22:09:40 +00:00
Jonas Gorski
9f7ef8d5f0 target: split jffs2 NAND out of jffs2
Make jffs2_nand a separate option so this can be triggered without forcing
jffs2 images for nor targets.

Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout
in <page_size>:<block_size> pairs.

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

SVN-Revision: 36860
2013-06-05 20:58:03 +00:00
Jo-Philipp Wich
b721c92221 firewall3: rename to firewall, move into base system menu, update to git head with compatibility fixes for AA
SVN-Revision: 36838
2013-06-04 12:21:52 +00:00
Felix Fietkau
6f4cb088a0 build: clean up stale files from a previous build when installing a package build to the staging dir
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36755
2013-05-29 10:31:45 +00:00
Gabor Juhos
7d2182c455 kernel: update linux 3.9 to 3.9.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36725
2013-05-26 16:02:34 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Jo-Philipp Wich
8df6cd005c netfilter: move time, mark, set matches and MARK, REDIRECT, SET targets into base iptables package - drop iptables-mod-ipset
SVN-Revision: 36683
2013-05-21 12:58:15 +00:00
Jonas Gorski
a01be4a217 kernel: update 3.9 to 3.9.3
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36676
2013-05-20 16:57:00 +00:00
Jonas Gorski
6e2b85b401 kernel: update 3.9 to 3.9.2
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36658
2013-05-19 18:31:51 +00:00
Felix Fietkau
eea89fea6a build: add config symbols for different ARM arch levels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36620
2013-05-13 15:04:58 +00:00
Felix Fietkau
2430e9a4f5 toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36594
2013-05-09 20:50:49 +00:00
Gabor Juhos
39467e78e7 kernel: update linux 3.9 to 3.9.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36577
2013-05-08 08:53:55 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Gabor Juhos
292493f74d kernel: add md5sum for 3.9 final
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36499
2013-04-30 11:29:38 +00:00
Gabor Juhos
f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
2013-04-30 10:43:59 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
Gabor Juhos
151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
2013-04-19 08:07:34 +00:00
Felix Fietkau
cf46e78b5f build: fix make defconfig
SVN-Revision: 36362
2013-04-18 13:51:16 +00:00
Felix Fietkau
9d5510a500 build: add new menuconfig code based on linux 3.9
SVN-Revision: 36361
2013-04-18 12:05:16 +00:00
Gabor Juhos
604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
Steven Barth
3e4b2af125 Enable native IPv6 support by default
SVN-Revision: 36277
2013-04-09 08:02:55 +00:00
Gabor Juhos
fc0e720f53 kernel: fix md5sum for 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36225
2013-04-06 13:11:44 +00:00
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
Jo-Philipp Wich
a996cc1444 add a build preeq check for glibc-static
SVN-Revision: 33121
2012-08-10 23:35:20 +00:00
John Crispin
370894e594 fix up scons vs ccache
SVN-Revision: 32902
2012-07-28 21:06:59 +00:00
John Crispin
584bc13d38 use autoreconf hook instead of manual call
SVN-Revision: 32837
2012-07-25 10:34:06 +00:00
John Crispin
8029fefe5c package-version-override always calls autoreconf
make it conditional on the existance of autoreconf

Signed-off-by: Ryan Nowakowski <tubaman@fattuba.com>

SVN-Revision: 32831
2012-07-24 23:07:30 +00:00
Felix Fietkau
b1f318de53 kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
SVN-Revision: 32783
2012-07-20 12:28:50 +00:00
Felix Fietkau
6ae20bf412 scripts/config: build with gcc instead of clang on mac os x
SVN-Revision: 32749
2012-07-16 14:14:12 +00:00
Jo-Philipp Wich
ec770abd0d package-ipkg.mk: flag packages as "ok" after install
By flagging compile-time-installed packages as "ok", they can be differentiated
from runtime-installed packages on the target later on.

SVN-Revision: 32739
2012-07-15 19:29:43 +00:00
Jo-Philipp Wich
556864c75b nls.mk: fix build dependency on gettext (#11829)
SVN-Revision: 32665
2012-07-11 10:05:00 +00:00
Jo-Philipp Wich
64f5b45d8f toplevel.mk: unexport ARCH, it ends up in CONFIG_ARCH if defined and messes the buildroot up
SVN-Revision: 32663
2012-07-11 09:59:06 +00:00
Jo-Philipp Wich
deff2382d0 include/image.mk: /tmp should have mode 1777
On the off chance that the root filesystem's /tmp is used directly as a
temporary directory instead of having a tmpfs mounted over it, it should have
the sticky bit set.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 32572
2012-07-01 11:48:54 +00:00
Felix Fietkau
59b384dabe toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
SVN-Revision: 32556
2012-06-30 21:43:59 +00:00
Felix Fietkau
cfe79471d1 kmod-ipt-nathelper-extra: fix missing nf_conntrack_broadcast.ko
kmod-ipt-nathelper-extra is missing the package nf_conntrack_broadcast.ko

if it is not included into the kmod-ipt-nathelper-extra packge the modules
nf_conntrack_snmp and nf_nat_snmp_basic cant get loaded:

[   44.500000] nf_conntrack_snmp: Unknown symbol nf_conntrack_broadcast_help (err 0)
[   44.664000] nf_nat_snmp_basic: Unknown symbol nf_nat_snmp_hook (err 0)

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 32434
2012-06-18 23:30:48 +00:00
Florian Fainelli
6de0939c3a build: allow KERNELNAME to contain multiple kernel make targets
SVN-Revision: 32423
2012-06-18 13:20:50 +00:00
John Crispin
0a684babcc fix ccache related build breakage
SVN-Revision: 32421
2012-06-18 08:50:26 +00:00
Jo-Philipp Wich
f9caf1abd1 uclibc++.mk: override the cc binary instead of the wrapper command when ccache is used
SVN-Revision: 32383
2012-06-15 12:57:29 +00:00
Felix Fietkau
cf788fc731 build: add a config option for choosing the prefered standard c++ library and add uclibc++.mk to make this easy to handle in packages
SVN-Revision: 32369
2012-06-14 20:26:04 +00:00
Felix Fietkau
3051de8701 build: add a variable for injecting config variable dependencies for the .prepared stamp
SVN-Revision: 32368
2012-06-14 20:26:00 +00:00
Felix Fietkau
67e51f1787 include/package-ipkg.mk: fix copying provides list introduced in r32332
SVN-Revision: 32358
2012-06-14 18:09:54 +00:00
Jo-Philipp Wich
3b65557db8 package-ipkg.sh: copy the package provides list for all virtual PROVIDES
SVN-Revision: 32332
2012-06-13 11:42:17 +00:00
Jo-Philipp Wich
d40fe9d24e autotools.mk: cope with Debian version strings in libtool
SVN-Revision: 32207
2012-06-11 21:50:50 +00:00
Felix Fietkau
16a34b222a package.mk: unexport the QUIET variable, it affects some packages like xapian-bindings
SVN-Revision: 32196
2012-06-11 15:07:51 +00:00
Felix Fietkau
6ca6d317b3 build: add checks for missing package dependencies
SVN-Revision: 32185
2012-06-11 00:57:36 +00:00
Felix Fietkau
031990cf95 build: generate a list of provided libraries for each ipkg file (includes provided libraries from packages that the exporting package depends on)
SVN-Revision: 32172
2012-06-10 20:27:41 +00:00
Felix Fietkau
edee850e18 build: add a dependency on libc to all non-kernel packages
SVN-Revision: 32171
2012-06-10 20:27:37 +00:00
Felix Fietkau
7b11052092 prereq-build: flex is built in tools/ - do not require it to be installed on the host
SVN-Revision: 32116
2012-06-07 16:39:33 +00:00
Felix Fietkau
b4b60ab62f include/netfilter.mk: clean up, remove junk for old kernel versions
SVN-Revision: 32114
2012-06-07 16:30:48 +00:00
Felix Fietkau
b50cfbb179 build: add PKG_MIRROR_MD5SUM support for host builds
SVN-Revision: 32082
2012-06-06 14:08:47 +00:00
Felix Fietkau
8068562453 build: prevent the environment variable CROSS_COMPILE from leaking into builds (fixes #11603)
SVN-Revision: 32081
2012-06-06 13:46:00 +00:00
Felix Fietkau
e8ff034c8b download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided
SVN-Revision: 32079
2012-06-06 13:45:53 +00:00
Jo-Philipp Wich
6cdf25289c base-files: add permission exceptions, do not clobber shadow permissions - based on patch by Mark Mentovai <mark@moxienet.com>
SVN-Revision: 32073
2012-06-05 18:02:00 +00:00
John Crispin
a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
John Crispin
b065867cfb log failed package builds
SVN-Revision: 32050
2012-06-04 18:29:29 +00:00
Gabor Juhos
2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Felix Fietkau
fe99e3c5b5 make: do a better job of sanitizing LD_LIBRARY_PATH (fixes #8069)
SVN-Revision: 31780
2012-05-17 20:19:43 +00:00
Felix Fietkau
03babf3641 target: add a feature flag for RTC support
SVN-Revision: 31777
2012-05-17 15:28:09 +00:00
Felix Fietkau
5eed1d8f6b enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
SVN-Revision: 31730
2012-05-14 23:33:35 +00:00
Gabor Juhos
b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Felix Fietkau
85f1a2c67a add further countermeasures against the git core.autocrlf option (fixes #9075)
SVN-Revision: 31650
2012-05-08 13:30:54 +00:00
Gabor Juhos
34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Felix Fietkau
352d081266 scons: override the platform instead of using the host one - fixes build issues on non-linux systems
SVN-Revision: 31620
2012-05-05 21:02:35 +00:00
Felix Fietkau
f479efbdf4 tools: add scons (patch by Dave Taht)
This makes it more possible to build scons based applications
for openwrt.

SVN-Revision: 31618
2012-05-05 17:37:34 +00:00
Gabor Juhos
622146a518 include/kernel-defaults: set V='' if c is not set in OPENWRT_VERBOSE
This fixes the following errors:

  CALL    arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer axpression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h

SVN-Revision: 31598
2012-05-05 12:48:35 +00:00
Gabor Juhos
3349cf2691 Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31566
2012-05-03 09:43:10 +00:00
Gabor Juhos
cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Felix Fietkau
6af6c0ae76 build: fix bad file descriptor issues with the verbosity changes
SVN-Revision: 31486
2012-04-26 18:13:17 +00:00