Nicolas Thill
6e2ee91229
include/kernel.mk: enhance built-in/missing modules detection when packaging kmods
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 14:00:36 +00:00
Felix Fietkau
01c3f30680
build: improve reliability of PKG_CONFIG_DEPENDS, remove old .configured_* stamps before creating a new one
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-05 19:09:40 +00:00
Nicolas Thill
eaa595d6ac
package/blockmount: simplify extroot module loading logic
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-28 13:10:50 +00:00
Nicolas Thill
57334f059f
kernel: build kmod even for modules built-in
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-28 13:10:43 +00:00
Michael Büsch
dc75d87ff9
Fix kernel version check macro typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 16:56:22 +00:00
Nicolas Thill
a133a1a62b
include/package-ipkg.mk: fix typo
...
Fix a typo that caused packaging of an empty ./lib/upgrade/keep.d
directory when the package supplied conffiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 00:49:07 +00:00
Jonas Gorski
4f435a6771
linux: add 3.1 checksum
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 12:58:44 +00:00
Jo-Philipp Wich
4e201ee729
[include] autotools.mk: link config.rpath before running autoreconf, also touch ABOUT-NLS - needed by minidlna CVS version
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-16 16:44:49 +00:00
Jo-Philipp Wich
c51ba3b21f
include: autotools.mk: do not fail in patch-libtool fixup if patch is already applied
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-11 18:15:12 +00:00
Felix Fietkau
cb87d20a4c
fix a small logic error in package download
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-09 16:54:03 +00:00
Felix Fietkau
0102ad4ea0
build system: add a feature that allows you to pull sources from a git tree instead of the usual tarball
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-09 16:33:59 +00:00
Jo-Philipp Wich
86734b743c
[include] kernel-build.mk: there is no tarball when using CONFIG_KERNEL_GIT_CLONE_URI or CONFIG_EXTERNAL_KERNEL_TREE, do not make the prepared stamp file depend on it in this case
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-03 11:33:13 +00:00
Jo-Philipp Wich
9869a07e62
[include] kernel.mk: also do not download Linux if CONFIG_KERNEL_GIT_CLONE_URI is set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-03 10:19:25 +00:00
Felix Fietkau
06088681bd
build system: add support for download-time make hooks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-30 11:12:13 +00:00
Jo-Philipp Wich
32b5ea459c
[include] image.mk: pass through $(CONFIG_PKG_BUILD_JOBS) to the mksquashfs -processors option
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-26 02:02:35 +00:00
Hauke Mehrtens
3b4e201de8
kernel: update to version 3.0.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:54:12 +00:00
Hauke Mehrtens
ff1d70f47d
kernel: update kernel to version 2.6.39.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-16 22:04:10 +00:00
Felix Fietkau
92846c2008
include/site: add powerpc-openwrt-linux-*spe sitefiles for mpc85xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-12 19:34:20 +00:00
Jonas Gorski
c025c5e99d
include/kernel.mk: fix download path for linux 3.x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-09 12:19:38 +00:00
Hauke Mehrtens
7f6a8eafbf
kernel: update to kernel version 3.0.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-06 09:51:55 +00:00
Jo-Philipp Wich
2b36cc83f3
[include] autotools.mk: implement PKG_FIXUP:=patch-libtool
...
This change allows to apply OpenWrt, Buildroot and OE libtool fixes to packages which fail badly at autoreconf.
The fixup covers the common libtool versions 1.5, 2.2 and 2.4 and automatically determines the correct
version to use.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 00:22:53 +00:00
Felix Fietkau
56a73bb2e7
only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts warnings with external toolchains
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 10:32:38 +00:00
Jonas Gorski
4d2cc216a9
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 21:42:33 +00:00
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