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
12 years ago
Felix Fietkau
7809d73fd2
kernel: fix module export stripping
...
SVN-Revision: 35319
12 years ago
Gabor Juhos
15be1c9ee7
kernel: update linux 3.7 to 3.7.4
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35318
12 years ago
Gabor Juhos
0de21d9747
kernel: update linux 3.7 to 3.7.3
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35216
12 years ago
Florian Fainelli
d85ec2b936
kernel: add missing CONFIG_KALLSYMS_UNCOMPRESSED symbol
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35180
12 years ago
Jo-Philipp Wich
03a50b9087
netfilter.mk: add addrtype match to iptables-mod-extra (kmod-ipt-extra)
...
SVN-Revision: 35155
12 years ago
Gabor Juhos
c19c30cefd
kernel: update linux 3.7 to 3.7.2
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35100
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Felix Fietkau
de707ac97e
build: reduce the size of package metadata a bit to keep package list files smaller
...
SVN-Revision: 34871
12 years ago
Felix Fietkau
dc0faf077c
build: remove the default useless MAINTAINER value
...
SVN-Revision: 34868
12 years ago
John Crispin
b21458709a
fix ipv4 nat on 3.7 by adding missing iptables modules
...
SVN-Revision: 34841
12 years ago
Felix Fietkau
76f0fd210f
kernel: fix module packages postinst by pointing to the new functions.sh location
...
SVN-Revision: 34804
12 years ago
Gabor Juhos
8903f8581b
kernel: update linux 3.7 to 3.7.1
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34760
12 years ago
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
12 years ago
Gabor Juhos
44b9898251
kernel: update linux 3.6 to 3.6.11
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34748
12 years ago
John Crispin
e9c0b95829
fixes uapi helper define
...
SVN-Revision: 34715
12 years ago
John Crispin
5deddbf918
fix tapi dependency
...
SVN-Revision: 34696
12 years ago
John Crispin
0803171cd1
adds wrapper for uapi directory
...
SVN-Revision: 34683
12 years ago
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
12 years ago
Gabor Juhos
2b378d11c8
kernel: update linux 3.6 to 3.6.10
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34639
12 years ago
Florian Fainelli
ed15c452a1
kernel: update to 3.7 final
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34626
12 years ago
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
12 years ago
Gabor Juhos
2581173660
kernel: update linux 3.6 to 3.6.9
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34578
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Felix Fietkau
24b31c9428
kernel: fix stripping symbol exports
...
SVN-Revision: 34458
12 years ago
Felix Fietkau
720ccbd95d
kernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based dependencies
...
SVN-Revision: 34450
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Imre Kaloz
935ca3f3eb
add 3.7-rc6 support (patch 820 still has to be fixed)
...
SVN-Revision: 34247
12 years ago
Imre Kaloz
0fa21ec3eb
use xz compressed kernel tarballs
...
SVN-Revision: 34228
12 years ago
Gabor Juhos
ff1e854511
kernel: update linux 3.6 to 3.6.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34227
12 years ago
Imre Kaloz
8f7ea44df0
we don't support kernels < 3.3
...
SVN-Revision: 34226
12 years ago
Imre Kaloz
996f48b4a3
we only support v3.x kernels
...
SVN-Revision: 34225
12 years ago
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
12 years ago
Gabor Juhos
e8669729bc
kernel: update linux 3.6 to 3.6.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34086
12 years ago
Gabor Juhos
07a762c4c5
kernel: update linux 3.6 to 3.6.5
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34042
12 years ago
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
12 years ago
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
12 years ago
Florian Fainelli
246e563cb7
properly reindent Kernel/Prepare/Default
...
SVN-Revision: 34014
12 years ago
Gabor Juhos
87186c5ed4
kernel: update linux 3.6 to 3.6.4
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33982
12 years ago
Florian Fainelli
3948c077c9
make CXX_DEPENDS also depend on INSTALL_LIBSTDCPP
...
SVN-Revision: 33908
12 years ago