Felix Fietkau
12e992638e
default to using gzip with mksquashfs if lzma and xz are unavailable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 09:16:55 +00:00
Felix Fietkau
6d14097297
cmake: fix ccache command when using host ccache (patch from #9611 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 08:34:08 +00:00
Hauke Mehrtens
c818073c4a
kernel: update to linux-3.0 and refresh patches.
...
Thank you Peter Wagner for the patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-22 16:04:25 +00:00
John Crispin
076d58c2cb
allow targets to define a default subtarget when using automatic subtarget detection from r27407
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 11:21:37 +00:00
John Crispin
b17c722b7e
automatic subtarget enumaration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 17:38:23 +00:00
John Crispin
a0eecf1178
extend squashfs padding for 256k flash sectors
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 17:37:46 +00:00
Gabor Juhos
c1359b5705
generic: use padjffs2 in prepare_generic_squashfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 08:37:58 +00:00
Felix Fietkau
2bff76170f
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 06:49:56 +00:00
Felix Fietkau
c163347f4b
add support for hidden packages that get selected/built but do not show up in menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 06:49:09 +00:00
Hauke Mehrtens
210af3e57c
kernel: update kernel to 2.6.39.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-28 19:30:58 +00:00
Jo-Philipp Wich
2bc81b5e4a
[include] cmake.mk: fix bogus values for FIND_ROOT_PATH_MODE_*; kept plplot from compiling ( #9573 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-22 11:02:00 +00:00
Hauke Mehrtens
791f4d23e2
kernel: update to kernel 2.6.38.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 15:52:15 +00:00
Hauke Mehrtens
4389c3de12
Properly extract KERNEL_PATCHVER for linux 3.0
...
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-15 21:10:33 +00:00
Florian Fainelli
c8baad652d
[kernel] update to 2.6.39.1
...
patch from Peter Wagner
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-04 13:35:55 +00:00
Felix Fietkau
f25cc9b4df
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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 18:08:17 +00:00
Felix Fietkau
f1d090bdc0
netfilter.mk: remove a few obsolete CompareKernelPatchVer calls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 18:08:12 +00:00
Felix Fietkau
f07b8453db
remove the now unused Target-Kernel field from the target metadata
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 23:07:53 +00:00
Felix Fietkau
939af33cd2
remove kernel major version specific kernelpackage overrides
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 23:07:48 +00:00
Felix Fietkau
5dccffc7a4
remove legacy package/foo-compile wrapper targets, people should be used to the correct target names by now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:27:21 +00:00
Hauke Mehrtens
22ca381be8
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 19:32:00 +00:00
Jo-Philipp Wich
55283cbc90
[netfilter] package u32 match and TEE target, patches by Maxim Uvarov
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 08:14:29 +00:00
Felix Fietkau
13597f0024
add LD_LIBRARY to cmake.mk
...
Otherwise cmake programs try to link with host ld.so
Signed-off-by: Jan Willies <jan@willies.info>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 16:21:30 +00:00
Hauke Mehrtens
f708e80573
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 17:23:02 +00:00
Felix Fietkau
d4b35c4f50
use lazy evaluation to allow targets to override kernel config files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 21:47:44 +00:00
Felix Fietkau
2d9489a949
prepare .config before testing for missing options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 02:16:52 +00:00
Jo-Philipp Wich
22a0024888
[include] silence error when package has no patches (patchwork 321)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 21:11:24 +00:00
Jo-Philipp Wich
b457e4cfc9
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:03:59 +00:00
Jo-Philipp Wich
88d8a57b98
[include] autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 14:18:55 +00:00
Jo-Philipp Wich
418fe28859
[include] cmake.mk: don't assume toolchain binaries in .../bin/ if an external toolchain is used, rely on `which` instead
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 02:11:11 +00:00
Hauke Mehrtens
37398c1ebe
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:23:46 +00:00
Felix Fietkau
8112013296
build: log package dump failures to logs to avoid forcing user to write cryptic commands to figure out what's going on
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-06 14:48:59 +00:00
Felix Fietkau
be05754678
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-06 14:48:55 +00:00
Felix Fietkau
d269a8077e
add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 19:03:51 +00:00
Felix Fietkau
90211666fb
site: set ac_cv_sizeof_off_t=8 to fix autoconf applications using it for detecting largefile support ( #8376 , #5681 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 12:11:43 +00:00
Felix Fietkau
ffaa47c172
make the build system a bit more silent without V=99
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 00:54:37 +00:00
Felix Fietkau
208c6ce217
toplevel: add a warning about .config being out of sync after an update
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 00:54:33 +00:00
Florian Fainelli
632b914bba
[package] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 18:30:37 +00:00
Hauke Mehrtens
ba39cf5be6
kernel: add md5sum of kernel
...
This was missing in r26441
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 14:54:37 +00:00
Felix Fietkau
591cf77143
build: reduce the amount of generated make code for the initial prereq scan - makes it about 20% faster
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 03:40:09 +00:00
Felix Fietkau
b818c82243
build: use a conditional @ sign before silenced targets instead of .SILENT - makes prereq checks more than twice as fast
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 03:40:04 +00:00
Felix Fietkau
8665a7edec
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 03:40:01 +00:00
Felix Fietkau
6f8262a64a
build: move the SH_FUNC eval to the beginning of the opkg control file build command chain, not in front of every single command
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 02:10:32 +00:00
Felix Fietkau
8249039087
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 02:07:59 +00:00
Felix Fietkau
4613220875
tools/squashfs4: update to version 4.2 (adds support for xz compression)
...
Based on a patch by Jonas Gorski
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 01:02:00 +00:00
Michael Büsch
c445330512
Update 2.6.38 to 2.6.38.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 15:44:03 +00:00
Felix Fietkau
c251184c28
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 01:07:12 +00:00
Jo-Philipp Wich
0082378959
[include] target.mk: don't enable coreutils by default, it does not even exist anymore... fixes the Image Builder
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-22 18:06:12 +00:00
Felix Fietkau
17057a805e
add support for md5sum checks for mirrored tarballs of packages with version control source urls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 23:02:06 +00:00
Jo-Philipp Wich
e29c4698e9
[include] image.mk: only upgrade permissions instead of overwriting, utilize tar -p flag for targz image targets ( #7667 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 17:38:15 +00:00
Imre Kaloz
4e0887e1b3
update to 2.6.32.33 and 2.6.37.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-18 13:25:32 +00:00