Commit graph

1033 commits

Author SHA1 Message Date
Felix Fietkau
5820306407 only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts warnings with external toolchains
SVN-Revision: 27771
2011-07-25 10:32:38 +00:00
Jonas Gorski
b197196bc8 kernel.mk: Fix kernel module path for 3.0
Linux 3.0 calls itself 3.0.0, so insmod expects the modules in
/lib/modules/3.0.0.

SVN-Revision: 27761
2011-07-24 21:42:33 +00:00
Felix Fietkau
0f93db2de5 default to using gzip with mksquashfs if lzma and xz are unavailable
SVN-Revision: 27748
2011-07-24 09:16:55 +00:00
Felix Fietkau
0d0915d168 cmake: fix ccache command when using host ccache (patch from #9611)
SVN-Revision: 27742
2011-07-24 08:34:08 +00:00
Hauke Mehrtens
39f491e479 kernel: update to linux-3.0 and refresh patches.
Thank you Peter Wagner for the patch

SVN-Revision: 27722
2011-07-22 16:04:25 +00:00
John Crispin
ad250089aa allow targets to define a default subtarget when using automatic subtarget detection from r27407
SVN-Revision: 27444
2011-07-04 11:21:37 +00:00
John Crispin
058eca0b3b automatic subtarget enumaration
SVN-Revision: 27407
2011-07-03 17:38:23 +00:00
John Crispin
d5205c3ed2 extend squashfs padding for 256k flash sectors
SVN-Revision: 27404
2011-07-03 17:37:46 +00:00
Gabor Juhos
5206db4561 generic: use padjffs2 in prepare_generic_squashfs
SVN-Revision: 27356
2011-07-02 08:37:58 +00:00
Felix Fietkau
fc0863785a add a portable version of sys/sysmacros.h and and let the kernel use the host include dir, fixes x86 builds on non-gnu systems
SVN-Revision: 27346
2011-07-02 06:49:56 +00:00
Felix Fietkau
bcf4757508 add support for hidden packages that get selected/built but do not show up in menuconfig
SVN-Revision: 27344
2011-07-02 06:49:09 +00:00
Hauke Mehrtens
c5821c1a3a kernel: update kernel to 2.6.39.2
SVN-Revision: 27298
2011-06-28 19:30:58 +00:00
Jo-Philipp Wich
cda35d2ef2 cmake.mk: fix bogus values for FIND_ROOT_PATH_MODE_*; kept plplot from compiling (#9573)
SVN-Revision: 27256
2011-06-22 11:02:00 +00:00
Hauke Mehrtens
79a7343560 kernel: update to kernel 2.6.38.8
SVN-Revision: 27218
2011-06-18 15:52:15 +00:00
Hauke Mehrtens
45ae457825 Properly extract KERNEL_PATCHVER for linux 3.0
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27183
2011-06-15 21:10:33 +00:00
Florian Fainelli
763b58c30c update to 2.6.39.1
patch from Peter Wagner

SVN-Revision: 27104
2011-06-04 13:35:55 +00:00
Felix Fietkau
9acb81d9af kernel.mk: add a new helper for comparing kernel versions, which can take 1 - 4 field kernel versions
implement CompareKernelPatchVer using this new helper
implement kernel_patchver_{gt,ge,eq,le,lt}, which are more convenient for use with inline $(if)

SVN-Revision: 27087
2011-06-01 18:08:17 +00:00
Felix Fietkau
1027d262ef netfilter.mk: remove a few obsolete CompareKernelPatchVer calls
SVN-Revision: 27086
2011-06-01 18:08:12 +00:00
Felix Fietkau
6e43f65dc4 remove the now unused Target-Kernel field from the target metadata
SVN-Revision: 27033
2011-05-30 23:07:53 +00:00
Felix Fietkau
0cf265ed06 remove kernel major version specific kernelpackage overrides
SVN-Revision: 27032
2011-05-30 23:07:48 +00:00
Felix Fietkau
b68404f278 remove legacy package/foo-compile wrapper targets, people should be used to the correct target names by now
SVN-Revision: 27023
2011-05-28 16:27:21 +00:00
Hauke Mehrtens
c69f2d8788 kernel: some updates for kernel 2.6.39
* add md5sum for kernel
* add some missing config symbols
* add some ssb patches to make compat-wireless compile

Thank you Peter Wagner for the patch

SVN-Revision: 27009
2011-05-25 19:32:00 +00:00
Jo-Philipp Wich
be906f6be5 package u32 match and TEE target, patches by Maxim Uvarov
SVN-Revision: 26977
2011-05-24 08:14:29 +00:00
Felix Fietkau
aea6afefe6 add LD_LIBRARY to cmake.mk
Otherwise cmake programs try to link with host ld.so

Signed-off-by: Jan Willies <jan@willies.info>

SVN-Revision: 26963
2011-05-20 16:21:30 +00:00
Hauke Mehrtens
a4c0645326 kernel: update kernel from 2.6.38.2 to 2.6.38.6 and refresh patches
Thank you Peter Wagner for the patch. I refreshed the kernel patches and added the md5sum of the kernel.

SVN-Revision: 26905
2011-05-15 17:23:02 +00:00
Felix Fietkau
a65dac690c use lazy evaluation to allow targets to override kernel config files
SVN-Revision: 26714
2011-04-17 21:47:44 +00:00
Felix Fietkau
83de49ae81 prepare .config before testing for missing options
SVN-Revision: 26700
2011-04-17 02:16:52 +00:00
Jo-Philipp Wich
149341faf1 silence error when package has no patches (patchwork 321)
SVN-Revision: 26627
2011-04-12 21:11:24 +00:00
Jo-Philipp Wich
a9977eca91 firewall: allow local redirection of ports
Allow a redirect like:

config redirect
        option src 'wan'
        option dest 'lan'
        option src_dport '22001'
        option dest_port '22'
        option proto 'tcp'

note the absence of the "dest_ip" field, meaning to terminate the connection on the firewall itself.

This patch makes three changes:

(1) moves the conntrack module into the conntrack package (but not any of the conntrack_* helpers).
(2) fixes a bug where the wrong table is used when the "dest_ip" field is absent.
(3) accepts incoming connections on the destination port on the input_ZONE table, but only for DNATted
    connections.

In the above example,

ssh -p 22 root@myrouter

would fail from the outside, but:

ssh -p 22001 root@myrouter

would succeed.  This is handy if:

(1) you want to avoid ssh probes on your router, or
(2) you want to redirect incoming connections on port 22 to some machine inside your firewall, but
    still want to allow firewall access from outside.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26617
2011-04-12 20:03:59 +00:00
Jo-Philipp Wich
a65b43a46f autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS
SVN-Revision: 26589
2011-04-11 14:18:55 +00:00
Jo-Philipp Wich
0f13d0a068 cmake.mk: don't assume toolchain binaries in .../bin/ if an external toolchain is used, rely on which instead
SVN-Revision: 26584
2011-04-11 02:11:11 +00:00
Hauke Mehrtens
24c1caef5f iipt-debug: create bundle of netfilter modules for debugging
Add a bundle for including commonly useful modules for IPtables debugging and development.

For now, it just contains xt_TRACE.ko

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26567
2011-04-09 23:23:46 +00:00
Felix Fietkau
2238b949f1 build: log package dump failures to logs to avoid forcing user to write cryptic commands to figure out what's going on
SVN-Revision: 26499
2011-04-06 14:48:59 +00:00
Felix Fietkau
caf4747f0c build: clean up handling of the kernel config
- support kernel config overlays in env/
- allow overriding the target kernel config with CONFIG_TARGET=platform|subtarget|env

SVN-Revision: 26498
2011-04-06 14:48:55 +00:00
Felix Fietkau
459762ace2 add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
SVN-Revision: 26491
2011-04-05 19:03:51 +00:00
Felix Fietkau
fcc570d999 site: set ac_cv_sizeof_off_t=8 to fix autoconf applications using it for detecting largefile support (#8376, #5681)
SVN-Revision: 26471
2011-04-04 12:11:43 +00:00
Felix Fietkau
d637ae2fc8 make the build system a bit more silent without V=99
SVN-Revision: 26460
2011-04-04 00:54:37 +00:00
Felix Fietkau
c4b8294c2d toplevel: add a warning about .config being out of sync after an update
SVN-Revision: 26459
2011-04-04 00:54:33 +00:00
Florian Fainelli
5959cd2850 add kmod-ipt-led
Netfilter LED target triggers blinkenlichten when a network packet hits
a rule.

LED target requires iptables 1.4.9 or higher

Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>

SVN-Revision: 26451
2011-04-03 18:30:37 +00:00
Hauke Mehrtens
87f98f8b09 kernel: add md5sum of kernel
This was missing in r26441

SVN-Revision: 26442
2011-04-03 14:54:37 +00:00
Felix Fietkau
61485f6491 build: reduce the amount of generated make code for the initial prereq scan - makes it about 20% faster
SVN-Revision: 26436
2011-04-03 03:40:09 +00:00
Felix Fietkau
314ce66b86 build: use a conditional @ sign before silenced targets instead of .SILENT - makes prereq checks more than twice as fast
SVN-Revision: 26435
2011-04-03 03:40:04 +00:00
Felix Fietkau
33cde6b296 build: undefine debug helper templates used by subdir.mk if the DEBUG variable is empty, speeds up "make prereq" by 25% when lots of packages are installed
SVN-Revision: 26434
2011-04-03 03:40:01 +00:00
Felix Fietkau
8a0d981006 build: move the SH_FUNC eval to the beginning of the opkg control file build command chain, not in front of every single command
SVN-Revision: 26432
2011-04-03 02:10:32 +00:00
Felix Fietkau
f6a0d67e7c build: do not use shell calls to export empty opkg control files, speeds up package build and fixes some "Argument list too long" errors Patch by Thomas Langer from #8450
SVN-Revision: 26431
2011-04-03 02:07:59 +00:00
Felix Fietkau
e6aa1cab00 tools/squashfs4: update to version 4.2 (adds support for xz compression)
Based on a patch by Jonas Gorski

SVN-Revision: 26422
2011-04-03 01:02:00 +00:00
Michael Büsch
371bccb4c0 Update 2.6.38 to 2.6.38.2
SVN-Revision: 26332
2011-03-28 15:44:03 +00:00
Felix Fietkau
335877a2b3 global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
SVN-Revision: 26300
2011-03-26 01:07:12 +00:00
Jo-Philipp Wich
d005251cc4 target.mk: don't enable coreutils by default, it does not even exist anymore... fixes the Image Builder
SVN-Revision: 26269
2011-03-22 18:06:12 +00:00
Felix Fietkau
b568a64f8c add support for md5sum checks for mirrored tarballs of packages with version control source urls
SVN-Revision: 26260
2011-03-21 23:02:06 +00:00