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
Felix Fietkau
b648860f9c
cmake: add support for V=cs
...
SVN-Revision: 31485
2012-04-26 17:54:03 +00:00
Felix Fietkau
34ffb526a2
build: rework verbosity level selection
...
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:
- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)
SVN-Revision: 31484
2012-04-26 17:53:56 +00:00
Mirko Vogt
ea14276046
enable verbose output of kernel build if V=99 is passed
...
append V=1 to KERNEL_MAKEOPTS when $V (and therewith $KBUILD_VERBOSE) is set to 99
SVN-Revision: 31466
2012-04-24 12:42:57 +00:00
Jonas Gorski
8fd383ae2e
kernel: update linux 3.3 to 3.3.3
...
SVN-Revision: 31460
2012-04-24 09:25:38 +00:00
Jonas Gorski
22b4e6b882
kernel: update linux 3.2 to 3.2.16
...
SVN-Revision: 31459
2012-04-24 09:25:35 +00:00
Jo-Philipp Wich
42c190ead8
ensure that profile Makefiles are sourced in alphabetical order Since make 3.82 does not guarantee file ordering anymore, target profiles might get included in random order, leading to bad default values when only selecting the toplevel target and populating the .config with defconfig. This commit should also fix the ar71xx snapshot builds.
...
SVN-Revision: 31449
2012-04-23 16:10:25 +00:00
Jonas Gorski
3a9b6dc313
kernel: update linux 3.3 to 3.3.2
...
SVN-Revision: 31336
2012-04-17 12:51:02 +00:00
Jonas Gorski
ee4c47a134
kernel: update linux 3.2 to 3.2.15
...
SVN-Revision: 31335
2012-04-17 12:50:54 +00:00
Jo-Philipp Wich
93b8648b15
don't overwrite version.mk, substitute REVISION instead
...
SVN-Revision: 31271
2012-04-13 10:47:45 +00:00
Jo-Philipp Wich
a43ae30e1b
include, base-files, opkg: introduce version configuration to override the embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner
...
The available placeholders are:
%D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt"
%d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt")
%N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment")
%n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment")
%V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262")
%v .. Like %V, but all characters made lowercase and spaces substituted with "_"
%C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge"
%c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge")
%U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages "
%R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c")
%T .. Replace with the current target (e.g. "ar71xx")
%S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le")
SVN-Revision: 31262
2012-04-12 17:31:16 +00:00
Jonas Gorski
50eba35cd3
kernel: update linux 3.3 to 3.3.1
...
SVN-Revision: 31223
2012-04-09 14:48:56 +00:00
Jonas Gorski
16b4cbcdd6
kernel: update linux 3.2 to 3.2.14
...
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
Vasilis Tsiligiannis
c56da13854
Add git version check to prerequisite check ( #11229 )
...
SVN-Revision: 31214
2012-04-06 12:05:59 +00:00
Vasilis Tsiligiannis
f37ce3fad3
Fix typo in GNU Make prereq check
...
SVN-Revision: 31213
2012-04-06 11:44:13 +00:00
John Crispin
032f3ea5e7
define external cpio
...
Allow building image with an external cpio
Signed-off-by: Tathagata Das <tathagata@alumnux.com>
SVN-Revision: 31204
2012-04-05 14:33:04 +00:00
John Crispin
e8c19a56db
prevent distro default LPATH from interfering
...
Attach patch unsets LPATH flag (found configured in some custom host
distributions) to make OpenWRT compile its toolchain without any issues.
LPATH is used on some distros to define the linkers search path.
Signed-off-by: Tathagata Das <tathagata@alumnux.com>
SVN-Revision: 31203
2012-04-05 14:33:03 +00:00
Jonas Gorski
d87efd8c3c
kernel: update linux 3.2 to 3.2.13 and refresh patches
...
Also remove a duplicate patch from lantiq (already in generic).
SVN-Revision: 31158
2012-04-01 07:56:55 +00:00
Gabor Juhos
6fda73f40a
add md5sum for linux-3.3
...
SVN-Revision: 31046
2012-03-20 15:55:06 +00:00
Gabor Juhos
c1dc6df8bd
kernel: update linux 3.2 to 3.2.12
...
SVN-Revision: 31028
2012-03-19 18:23:31 +00:00
Jens Muecke
6204553450
Enable recursive download of git sources.
...
SVN-Revision: 30967
2012-03-17 21:33:13 +00:00
Jo-Philipp Wich
e6af9d374a
fix ipt_ttl and ipt_TTL userspace library packaging
...
SVN-Revision: 30897
2012-03-12 02:07:22 +00:00
Felix Fietkau
0cdeb6e4b2
build: unexport C_INCLUDE_PATH to prevent user settings from interfering with the build ( fixes #9865 )
...
SVN-Revision: 30830
2012-03-05 21:39:07 +00:00
Felix Fietkau
74946bb022
build: remove redundant call to $(SH_FUNC) ( #8042 )
...
SVN-Revision: 30818
2012-03-05 11:57:08 +00:00
Gabor Juhos
9698a499b6
kernel: update linux 3.2 to 3.2.9
...
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Felix Fietkau
edc3ad9100
build: add TARGET_CXXFLAGS and EXTRA_CXXFLAGS, defaulting to *_CFLAGS via lazy evaluation. this allows adding c++ specific cflags
...
SVN-Revision: 30760
2012-03-01 10:39:46 +00:00
Felix Fietkau
9cf5926eff
quilt: add a NO_RECONFIGURE override for compiling a package without re-running Build/Configure
...
SVN-Revision: 30500
2012-02-13 15:31:28 +00:00
Gabor Juhos
6959317691
kernel: update linux 3.2 to 3.2.5
...
SVN-Revision: 30401
2012-02-10 08:19:23 +00:00
Vasilis Tsiligiannis
f1051a296d
target.mk: Trivial comment typo fix
...
SVN-Revision: 30310
2012-02-05 18:15:18 +00:00
Jonas Gorski
c336de3d85
kernel: update module names and add new config symbols for linux 3.3
...
SVN-Revision: 29985
2012-02-02 08:23:44 +00:00
Jonas Gorski
b3568b10c2
kernel: update linux 3.2 to 3.2.2
...
SVN-Revision: 29967
2012-01-31 09:44:00 +00:00
Jonas Gorski
1015fab0d7
kernel: update linux 3.1 to 3.1.10
...
SVN-Revision: 29966
2012-01-31 09:43:57 +00:00
Jonas Gorski
e67f4477bb
kernel: update linux 3.0 to 3.0.18
...
SVN-Revision: 29965
2012-01-31 09:43:53 +00:00
Jo-Philipp Wich
a5d34b8613
autotools.mk: fix autoreconf in subdirectories, thanks field_it for spotting this
...
SVN-Revision: 29835
2012-01-20 21:31:03 +00:00
Jo-Philipp Wich
a79356d5ec
site: add configure cache scripts for mips-linux-gnu and mipsel-linux-gnu, used by CodeSourcery toolchain
...
SVN-Revision: 29794
2012-01-19 03:10:27 +00:00
John Crispin
ccb6b0a063
tools: clean up Makefiles / make ccache work
...
SVN-Revision: 29754
2012-01-15 11:43:13 +00:00
Jonas Gorski
1bc0abb058
kernel: add support for linux 3.2.1
...
SVN-Revision: 29730
2012-01-13 14:55:07 +00:00
Jonas Gorski
c560444a58
kernel: update linux 3.1 to 3.1.9
...
SVN-Revision: 29726
2012-01-13 14:38:28 +00:00
Jonas Gorski
e49d3e1d5b
kernel: update linux 3.0 to 3.0.17
...
SVN-Revision: 29725
2012-01-13 14:10:44 +00:00
Jo-Philipp Wich
9054bc91b3
cmake.mk: fix passing of LDFLAGS
...
SVN-Revision: 29701
2012-01-09 05:42:04 +00:00
Jo-Philipp Wich
690701d26e
make prepare_kernel_conf target depend on quilt instead of sed. Preparing the source tree requires quilt and installing quilt implies installing sed.
...
SVN-Revision: 29697
2012-01-08 16:52:41 +00:00
Jo-Philipp Wich
97af76a920
include: calculate md5sum over sorted kernel config symbol list and incorperate it into the kernel metapackage version, make kmods depend on this specific version. The aim of this change is to invalidate kmods which are built against a different kernel config on the opkg metadata level. Manual copying and insmod of custom *.ko files, e.g. for development purpose, is still possible.
...
SVN-Revision: 29686
2012-01-08 15:23:11 +00:00
Jo-Philipp Wich
a529e3f09e
add CT target and TTL/HL match+target
...
This patch adds the CT target for conntrack (enables manipulation of
conntrack events and supercedes NOTRACK) as well as the TTL/HL target and
match.
SVN-Revision: 29645
2012-01-04 02:52:54 +00:00
Jo-Philipp Wich
a788f199c9
remove current RTSP support
...
SVN-Revision: 29643
2012-01-04 00:29:29 +00:00
Jo-Philipp Wich
2ad90a1ec3
package CT target
...
SVN-Revision: 29609
2011-12-25 13:32:53 +00:00
Felix Fietkau
470b1f471a
image: increase squashfs block size - visibly reduces image size in many cases
...
SVN-Revision: 29519
2011-12-13 15:34:08 +00:00
Nicolas Thill
6d6e379922
include/package-ipkg.mk: fix typo in r29449
...
SVN-Revision: 29497
2011-12-10 22:02:50 +00:00
Jonas Gorski
e33bb9ec66
linux: update 3.1 to 3.1.4
...
SVN-Revision: 29470
2011-12-06 19:50:30 +00:00
Jonas Gorski
6e2ae90f4a
linux: update 3.0 to 3.0.12
...
SVN-Revision: 29469
2011-12-06 19:50:25 +00:00
Gabor Juhos
091894764b
include/package-ipkg.mk: don't add vi backup files to packages
...
Also remove trailing whitespaces.
SVN-Revision: 29449
2011-12-05 17:27:00 +00:00
Jonas Gorski
8bac0df4ae
linux: update 3.0 to 3.0.9
...
SVN-Revision: 29264
2011-11-19 18:39:12 +00:00
Jonas Gorski
14482ced5e
include/kernel.mk: don't check for modules.builtin on 2.6.32-
...
modules.builtin is only available in 2.6.33 and later, so fall back to
assuming it's built-in for older kernels.
SVN-Revision: 29018
2011-11-13 11:45:09 +00:00
Jonas Gorski
d8acb75009
linux: update 3.1 to 3.1.1
...
SVN-Revision: 29007
2011-11-13 10:48:05 +00:00
Nicolas Thill
7de2766a02
include/kernel.mk: enhance built-in/missing modules detection when packaging kmods
...
SVN-Revision: 28856
2011-11-08 14:00:36 +00:00
Felix Fietkau
edb862e8ec
build: improve reliability of PKG_CONFIG_DEPENDS, remove old .configured_* stamps before creating a new one
...
SVN-Revision: 28770
2011-11-05 19:09:40 +00:00
Nicolas Thill
3bcb16b305
package/blockmount: simplify extroot module loading logic
...
SVN-Revision: 28650
2011-10-28 13:10:50 +00:00
Nicolas Thill
b5af64c529
kernel: build kmod even for modules built-in
...
SVN-Revision: 28649
2011-10-28 13:10:43 +00:00
Michael Büsch
69853cc4e8
Fix kernel version check macro typo
...
SVN-Revision: 28627
2011-10-27 16:56:22 +00:00
Nicolas Thill
a930a79e08
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
SVN-Revision: 28595
2011-10-26 00:49:07 +00:00
Jonas Gorski
3894b9746f
linux: add 3.1 checksum
...
SVN-Revision: 28553
2011-10-24 12:58:44 +00:00
Jo-Philipp Wich
d8d9130e45
autotools.mk: link config.rpath before running autoreconf, also touch ABOUT-NLS - needed by minidlna CVS version
...
SVN-Revision: 28464
2011-10-16 16:44:49 +00:00
Jo-Philipp Wich
e7b094e849
include: autotools.mk: do not fail in patch-libtool fixup if patch is already applied
...
SVN-Revision: 28419
2011-10-11 18:15:12 +00:00
Felix Fietkau
f63daa85a2
fix a small logic error in package download
...
SVN-Revision: 28395
2011-10-09 16:54:03 +00:00
Felix Fietkau
874622d004
build system: add a feature that allows you to pull sources from a git tree instead of the usual tarball
...
SVN-Revision: 28394
2011-10-09 16:33:59 +00:00
Jo-Philipp Wich
5171edd8d5
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
...
SVN-Revision: 28361
2011-10-03 11:33:13 +00:00
Jo-Philipp Wich
b292524c13
kernel.mk: also do not download Linux if CONFIG_KERNEL_GIT_CLONE_URI is set
...
SVN-Revision: 28360
2011-10-03 10:19:25 +00:00
Felix Fietkau
1b8dd6ed1c
build system: add support for download-time make hooks
...
SVN-Revision: 28322
2011-09-30 11:12:13 +00:00
Jo-Philipp Wich
29123aee6d
image.mk: pass through $(CONFIG_PKG_BUILD_JOBS) to the mksquashfs -processors option
...
SVN-Revision: 28305
2011-09-26 02:02:35 +00:00
Hauke Mehrtens
464539b074
kernel: update to version 3.0.3
...
SVN-Revision: 28043
2011-08-18 12:54:12 +00:00
Hauke Mehrtens
09b1073f9b
kernel: update kernel to version 2.6.39.4
...
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Felix Fietkau
97cf4d41fa
include/site: add powerpc-openwrt-linux-*spe sitefiles for mpc85xx
...
SVN-Revision: 27969
2011-08-12 19:34:20 +00:00
Jonas Gorski
a5f2fd6359
include/kernel.mk: fix download path for linux 3.x
...
SVN-Revision: 27939
2011-08-09 12:19:38 +00:00
Hauke Mehrtens
51be984655
kernel: update to kernel version 3.0.1
...
SVN-Revision: 27918
2011-08-06 09:51:55 +00:00
Jo-Philipp Wich
bd982fb72c
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.
...
SVN-Revision: 27855
2011-08-01 00:22:53 +00:00
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
Jo-Philipp Wich
48c8a8ddb0
image.mk: only upgrade permissions instead of overwriting, utilize tar -p flag for targz image targets ( #7667 )
...
SVN-Revision: 26259
2011-03-21 17:38:15 +00:00
Imre Kaloz
b8430e7427
update to 2.6.32.33 and 2.6.37.4
...
SVN-Revision: 26226
2011-03-18 13:25:32 +00:00
Imre Kaloz
7df8322519
add 2.6.38 md5sum
...
SVN-Revision: 26221
2011-03-18 12:56:19 +00:00
Felix Fietkau
73c1dd9473
build: move the CCACHE_DIR to the build targets so that it doesn't interfere with a host ccache setup
...
SVN-Revision: 26181
2011-03-15 19:58:32 +00:00
Felix Fietkau
fd0deca65d
download.mk: properly quote download urls
...
SVN-Revision: 26129
2011-03-13 18:38:43 +00:00
Hauke Mehrtens
4226f1d373
kernel: update to kernel version 2.6.37.3
...
SVN-Revision: 26126
2011-03-13 17:14:08 +00:00
Hauke Mehrtens
425bf41b23
kernel: update to kernel version 2.6.34.8
...
SVN-Revision: 26125
2011-03-13 17:13:11 +00:00
Hauke Mehrtens
b78210955c
kernel: update to kernel version 2.6.32.32
...
SVN-Revision: 26124
2011-03-13 17:12:20 +00:00
Daniel Dickinson
0f93d4c3c4
target: Added coreutils to list of default packages. It doesn't build or install anything (0 bytes, 0 dependencies) and it prevents other packages from appearing in the package list if it is not selected
...
SVN-Revision: 26026
2011-03-11 08:57:37 +00:00
Felix Fietkau
f67f66bb89
Revert "[include] provide mipsel-openwrt-linux-uclibcgnueabi site script, fixes the majority of configure problems"
...
SVN-Revision: 25970
2011-03-09 11:37:55 +00:00
Jo-Philipp Wich
fb53b99f8c
provide mipsel-openwrt-linux-uclibcgnueabi site script, fixes the majority of configure problems
...
SVN-Revision: 25968
2011-03-09 10:13:56 +00:00
Jo-Philipp Wich
ff1f0be710
site: cache ac_cv_func_malloc_0_nonnull and ac_cv_func_realloc_0_nonnull
...
SVN-Revision: 25946
2011-03-08 06:00:56 +00:00
Imre Kaloz
b74308c433
only support EABI on ARM targets
...
SVN-Revision: 25928
2011-03-07 12:59:19 +00:00
Felix Fietkau
504eda0da9
hotplug2: replace udevtrigger from the udev-106 source with a much smaller self-contained, stripped-down version
...
SVN-Revision: 25920
2011-03-07 02:49:24 +00:00
Jo-Philipp Wich
dcb66b0593
deploy .ipk archives with --force-maintainer to ensure that configs are kept up-to-date in case they exist already for various reasons
...
SVN-Revision: 25915
2011-03-06 23:52:13 +00:00
Michael Büsch
9e7801b913
cmake: Fix ccache
...
SVN-Revision: 25878
2011-03-05 10:36:52 +00:00
Felix Fietkau
de4fdd0ce6
add a stamp that can forcibly disable autorebuild for a specific package - useful for testing changes to packages with extremely long recompilation times
...
SVN-Revision: 25838
2011-03-03 00:17:08 +00:00
Jo-Philipp Wich
073c5e0e74
add config.rpath and link it in autotools.mk if missing, some packages might need it, especially users of lib-link.m4 or iconv.m4
...
SVN-Revision: 25753
2011-02-27 15:39:27 +00:00
Felix Fietkau
c864843cbf
netfilter.mk: put ipv6 conntrack in the right package
...
SVN-Revision: 25750
2011-02-27 11:22:30 +00:00
Felix Fietkau
2d14f4e2f8
netfilter: add missing modules for v6 conntrack (patch from #8940 )
...
SVN-Revision: 25731
2011-02-26 15:50:01 +00:00
Felix Fietkau
831e597d7c
move nf_{conntrack,nat}_tftp to ipt-nathelper-extra, most people don't need this
...
SVN-Revision: 25722
2011-02-26 00:35:22 +00:00
Felix Fietkau
9dad83362d
kernel: remove imq support, refresh patches
...
SVN-Revision: 25641
2011-02-21 02:06:51 +00:00
Jo-Philipp Wich
d56fe0cf53
toplevel.mk: remove quotes from the release name, its up to its users to ensure proper quoting
...
SVN-Revision: 25596
2011-02-19 22:15:17 +00:00
Florian Fainelli
d3c2b87213
update to 2.6.32.29
...
SVN-Revision: 25583
2011-02-19 12:44:23 +00:00
Florian Fainelli
31709b2c76
update to 2.6.35.11
...
SVN-Revision: 25582
2011-02-19 12:44:16 +00:00
Florian Fainelli
45c9f5e75e
update to kernel 2.6.36.4
...
SVN-Revision: 25580
2011-02-19 12:44:07 +00:00
Florian Fainelli
3cd87d2d81
update to 2.6.37.1
...
SVN-Revision: 25577
2011-02-19 12:43:59 +00:00
Florian Fainelli
beb132b140
add git (git-core) as a prerequisite ( #8866 )
...
SVN-Revision: 25536
2011-02-14 15:06:11 +00:00
Imre Kaloz
e4589a2e5f
it's time for some attitude adjustment ;)
...
SVN-Revision: 25514
2011-02-13 11:20:09 +00:00
Felix Fietkau
7e4a29fbe2
use := instead of = for PKG_CONFIG_PATH to prevent recursion
...
SVN-Revision: 25388
2011-02-06 16:04:33 +00:00
Felix Fietkau
e8b193f10b
allow packages to override/extend PKG_CONFIG_PATH
...
SVN-Revision: 25386
2011-02-06 15:18:30 +00:00
Michael Büsch
6da37f79c5
cmake: Pass VERBOSE=1 to the generated makefile to reveal flags and commands in a verbose openwrt build.
...
SVN-Revision: 25376
2011-02-05 19:50:54 +00:00
Michael Büsch
21e2dcd199
cmake: Remove -O3 from release CFLAGS. Honor the OpenWRT -Os flag instead.
...
SVN-Revision: 25372
2011-02-05 19:39:48 +00:00
Jo-Philipp Wich
4fec7f7edb
autotools.mk: -B is not passed on by autoreconf, use -I instead - fixes PKG_MACRO_PATHS
...
SVN-Revision: 25312
2011-02-02 18:18:38 +00:00
Jo-Philipp Wich
1ada513817
prepare support for libiconv, libintl stub/full switching
...
SVN-Revision: 25302
2011-02-02 01:26:19 +00:00
Felix Fietkau
9b9162fa1a
add sitefile entries for ac_cv_func_creal,cimag - the functions are there, but configure tests in imagemagick fail to detect them
...
SVN-Revision: 25292
2011-02-01 21:16:10 +00:00
Felix Fietkau
c4d2dde396
add a template for cmake packages
...
SVN-Revision: 25265
2011-01-31 20:16:01 +00:00
Felix Fietkau
d288f855e3
add a missing wrapper for the refresh target for host builds
...
SVN-Revision: 25193
2011-01-28 12:13:58 +00:00
Imre Kaloz
a361eab890
fixup board specific KERNELNAME overrides
...
SVN-Revision: 25138
2011-01-27 12:21:10 +00:00
Imre Kaloz
832fc4a133
2.6.38 supports xz ramdisks, too
...
SVN-Revision: 25080
2011-01-24 06:41:11 +00:00
Jo-Philipp Wich
bad3c4865d
set Installed-Size to 0 when preparing control, its substituted by ipkg-build later on
...
SVN-Revision: 25022
2011-01-16 22:18:35 +00:00
Hauke Mehrtens
ebbd3311e1
kernel: add md5sum of kernel 2.6.37
...
SVN-Revision: 24931
2011-01-08 13:10:35 +00:00
Jo-Philipp Wich
ec45087403
autotools.mk: introduce PKG_MACRO_PATHS and HOST_MACRO_PATHS which default to ./m4, add LIBTOOL to AM_TOOL_PATHS
...
SVN-Revision: 24830
2010-12-26 02:06:50 +00:00
Jo-Philipp Wich
d2d990e41e
netfilter.mk: fix connmark packaging for Kernels >= 2.6.35, thanks Daniel Gimpelevich
...
SVN-Revision: 24729
2010-12-19 16:47:30 +00:00
Jo-Philipp Wich
f28b49208b
autotools.mk: like libintl, make all libtool fixup packages depend on the libiconv stub
...
SVN-Revision: 24708
2010-12-19 04:41:18 +00:00
Jo-Philipp Wich
fd181101aa
autotools.mk: add a (dummy) libintl build dependency to any package using the libtool fixup
...
SVN-Revision: 24700
2010-12-19 02:37:56 +00:00
Jo-Philipp Wich
8fae8c0a6f
download.mk: support https:// downloads
...
SVN-Revision: 24688
2010-12-18 21:43:10 +00:00
Jo-Philipp Wich
c9f9fc8154
autotools.mk: remove HOST_BUILD_DEPENDS on libtool
...
SVN-Revision: 24676
2010-12-18 18:14:25 +00:00
Jo-Philipp Wich
4e19240b9b
autotools.mk: set AUTOPOINT to "true", not all hosts have it install and it makes autoreconf fail if not present, it also needs cvs which isn't installed on all hosts either
...
SVN-Revision: 24664
2010-12-18 13:19:59 +00:00
Gabor Juhos
0d01356fc6
generic: nuke 2.6.33 specific stuff, is not used by any platform
...
SVN-Revision: 24644
2010-12-17 17:10:04 +00:00
Jo-Philipp Wich
a4350e3861
autotools.mk: touch NEWS, AUTHORS, COPYING and ChangeLog, automake wants them
...
SVN-Revision: 24588
2010-12-15 06:05:41 +00:00
Jo-Philipp Wich
249693d50b
autotools.mk: always pass -I m4, some package don't seem to set correct AMFLAGS (or any at all..)
...
SVN-Revision: 24574
2010-12-15 01:24:16 +00:00
Jo-Philipp Wich
6489a9c575
autotools.mk: don't rely on shipped autogen.sh files
...
SVN-Revision: 24573
2010-12-15 01:14:14 +00:00
Jo-Philipp Wich
f3ac8849a5
autotools.mk: explicately pass toolchain versions of automake, autoconf, libtoolize, ... to autoreconf
...
SVN-Revision: 24570
2010-12-15 00:19:08 +00:00
Imre Kaloz
d4bf98f231
add plemininary ultrasparc support
...
SVN-Revision: 24558
2010-12-14 07:57:22 +00:00
Jo-Philipp Wich
dbf8d9c516
- implement hooks for hostbuilds - use host build hooks to implement fixups for host build - move separator declaration to rules.mk
...
SVN-Revision: 24551
2010-12-13 19:04:33 +00:00
Jo-Philipp Wich
135cfe50c9
autotools.mk: add yet another aclocal path
...
SVN-Revision: 24547
2010-12-13 16:05:53 +00:00
Jo-Philipp Wich
c48a705702
autotools.mk: support autoreconf at different paths, introduce PKG_AUTOMAKE_PATHS which defaults to '.'
...
SVN-Revision: 24534
2010-12-13 01:44:28 +00:00
Daniel Dickinson
236cbb536f
Added autoconf flags for gettimeofday and psignal - uClibc has them
...
SVN-Revision: 24508
2010-12-12 01:43:30 +00:00
Hauke Mehrtens
b8ab3d34eb
kernel: update kernel versions Update kernel 2.6.32.26 to 2.6.32.27 Update kenrel 2.6.36.1 to 2.6.36.2
...
SVN-Revision: 24486
2010-12-11 16:07:21 +00:00
Jo-Philipp Wich
bf9e9b6a91
rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now
...
SVN-Revision: 24474
2010-12-11 03:15:10 +00:00
Jo-Philipp Wich
88a1c20900
autotools.mk: let PKG_REMOVE_FILES default to aclocal.m4
...
SVN-Revision: 24458
2010-12-10 22:59:07 +00:00
Jo-Philipp Wich
3560c34214
autotools.mk: remove autom4ate.cache directory when autoreconf-ing
...
SVN-Revision: 24434
2010-12-10 16:28:20 +00:00
Felix Fietkau
ffbed0f08a
support the autoreconf fixup without libtool
...
SVN-Revision: 24423
2010-12-10 15:20:51 +00:00
Jo-Philipp Wich
6541593b34
autotools.mk: introduce PKG_REMOVE_FILES to delete certain files after applying patches and before doing any fixups
...
SVN-Revision: 24348
2010-12-08 15:55:05 +00:00
Jo-Philipp Wich
fa3c5ac38a
autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++)
...
SVN-Revision: 24344
2010-12-08 11:55:41 +00:00
Jo-Philipp Wich
48b953fa1c
autotools.mk: allow disabling autoreconf, remove libdir fixup
...
SVN-Revision: 24321
2010-12-08 02:24:21 +00:00
Jo-Philipp Wich
f3f3be3dfe
autotools.mk: allow autogen.sh / autoreconf to fail (for now)
...
SVN-Revision: 24320
2010-12-08 01:19:52 +00:00
Jo-Philipp Wich
69aeb3a06c
autotools.mk: if ./autogen.sh exists, call that. Call autoreconfig only if configure.in or configure.ac exists
...
SVN-Revision: 24319
2010-12-08 01:15:38 +00:00
Jo-Philipp Wich
591190e215
deploy the steamroller tactics and autoreconfigure any package carring the libtool fixup, this should solve a number of issues ranging from linking into the host, syntax errors in libtool and missing make targets
...
SVN-Revision: 24317
2010-12-08 00:54:14 +00:00
Jo-Philipp Wich
c10515db65
re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP and emit a deprecation warning. Packages must specify PKG_BUILD_DEPENDS:=libtool
...
SVN-Revision: 24246
2010-12-04 19:56:47 +00:00
Mirko Vogt
9a18fff28e
ensure accidentally installed *.la-files (into $STAGING_DIR) are going to be removed afterwards - this actually should be done within respective package-Makefiles itself, however they need to stay compatible with libtool v1.5.x which is used in backfire, since it (may) require those files
...
SVN-Revision: 24241
2010-12-04 13:44:43 +00:00
Mirko Vogt
b599f7dc42
disable libtool fixups in trunk globally
...
SVN-Revision: 24234
2010-12-04 00:11:09 +00:00
Imre Kaloz
ead8ab8403
update to the latest stable kernels
...
SVN-Revision: 24136
2010-11-24 18:50:11 +00:00
Felix Fietkau
695a1268e1
change the recursive dependency template to use more make evaluation - the shell command got so long that it triggered "Argument list too long" on some systems ( #8231 )
...
SVN-Revision: 24131
2010-11-24 14:07:12 +00:00
Felix Fietkau
380ea005e1
use PREFIX/bin instead of PREFIX/sbin for all host builds (fixes e2fsprogs path)
...
SVN-Revision: 24103
2010-11-22 18:49:18 +00:00
Imre Kaloz
66b08771ff
cleanup
...
SVN-Revision: 24090
2010-11-22 13:46:09 +00:00
Imre Kaloz
5ea6194ab0
remove 2.6.25 support
...
SVN-Revision: 24089
2010-11-22 13:43:32 +00:00
Imre Kaloz
4052849677
switch from ext2 to ext4 (w/o) journaling
...
SVN-Revision: 24084
2010-11-22 12:12:39 +00:00
Jo-Philipp Wich
e09767beea
package-ipkg.mk: add support for "essential" package flag, fix typo
...
SVN-Revision: 23959
2010-11-11 16:18:01 +00:00
Florian Fainelli
b6e9f1dfe0
make targets provide their KERNELNAME
...
SVN-Revision: 23919
2010-11-08 07:31:25 +00:00
Michael Büsch
995cedb319
InstallDev: Move the "find" out of the lock critical section.
...
SVN-Revision: 23858
2010-11-04 12:42:37 +00:00
Michael Büsch
e5fc77edd9
Lock copying of directory trees to the staging dir with the "staging-dir" lock. This lock probably has to be taken elsewhere, too.
...
SVN-Revision: 23857
2010-11-04 12:28:55 +00:00
Imre Kaloz
0a5da348d1
update kernels to 2.6.32.25 and 2.6.35.8
...
SVN-Revision: 23851
2010-11-04 09:01:08 +00:00
Michael Büsch
050902efd7
deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.
...
SVN-Revision: 23825
2010-11-03 14:58:32 +00:00
Michael Büsch
9d61a9b1c6
Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build.
...
SVN-Revision: 23709
2010-10-29 15:07:23 +00:00
Florian Fainelli
d78a574019
add support for darcs repositories
...
This patch adds support for darcs repositories (as sources of packages).
It does *not* add support for darcs:// URI scheme because such a scheme
do not exist (AFAIK). You must therefore manually set PKG_SOURCE_PROTO
to darcs in your Makefile (and use a regular http:// URI). You also have
to set PKG_SOURCE_VERSION to a string matching a tag contained in the
repository, and PKG_SOURCE_SUBDIR to something sensible
($(PACKAGE_NAME)-$(PACKAGE_SOURCE_VERSION) for instance).
Same rationale as for the previous patch ("useless to most, but small
and straightforward so why no add it?).
Best regards,
Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr>
SVN-Revision: 23615
2010-10-24 12:36:44 +00:00
Michael Büsch
a7ae32e3dd
Add md5sum for linux-2.6.36
...
SVN-Revision: 23556
2010-10-20 23:07:35 +00:00
Jo-Philipp Wich
c32a125607
netfilter: workaround a userspace/kernel mismatch on Linux 2.6.35 and later
...
SVN-Revision: 23521
2010-10-18 20:39:07 +00:00
Florian Fainelli
8a6ee777b0
make ModuleAutoLoad more readable
...
When doing a build with tracing on, the expansion of ModuleAutoLoad can get a
little hairy.
Using intermediate variables to name the arguments makes tracing more readable.
One side effect is that if an argument is accidentally left out, we won't get
all of the parameters shifted one over thanks to quoting (done in AutoLoad).
Signed-of-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 23513
2010-10-18 06:58:11 +00:00
Michael Büsch
dc7a68165d
Fix typo
...
SVN-Revision: 23482
2010-10-16 18:46:22 +00:00
Michael Büsch
d4807cf557
Support force-disabling per-package parallel build with {PKG,HOST}_BUILD_PARALLEL:=0
...
SVN-Revision: 23480
2010-10-16 18:42:58 +00:00
Felix Fietkau
5e3284ecfd
set the umask in toplevel.mk instead of forcing the user to adjust it
...
SVN-Revision: 23445
2010-10-14 15:53:47 +00:00
Jo-Philipp Wich
c11586a203
add a prereq check for umask 0022, other settings will result in broken packages
...
SVN-Revision: 23442
2010-10-14 14:25:29 +00:00
Jo-Philipp Wich
38e3474542
quilt.mk: export PATCH for patch-kernel.sh
...
SVN-Revision: 23315
2010-10-08 09:21:34 +00:00
Jo-Philipp Wich
3cf0250da2
host.mk: introduce PATCH which refers to either gpatch or patch
...
SVN-Revision: 23287
2010-10-07 11:33:12 +00:00
Jo-Philipp Wich
d3f412f4ec
rename PATCH to KPATCH
...
SVN-Revision: 23286
2010-10-07 11:32:09 +00:00
Ralph Hempel
a1973192c6
add configure as package target
...
SVN-Revision: 23262
2010-10-05 20:20:13 +00:00
Jo-Philipp Wich
f3a5085903
package-ipkg.mk: build sysupgrade keepfile hints out of conffiles not yet present in the package. This applies to config directories or files that do not exist but may be created by the user after package installation.
...
SVN-Revision: 23257
2010-10-05 19:20:27 +00:00
Jo-Philipp Wich
8ae1a4fc69
correct default package status info (install -> unknown) - fixes "opkg_conf_write_status_files: Internal error: package ... has a NULL dest"
...
SVN-Revision: 23222
2010-10-04 17:20:49 +00:00
Imre Kaloz
5f9a6a5431
upgrade kernel versions to the latest stable ones
...
SVN-Revision: 23219
2010-10-04 10:40:41 +00:00
Lars-Peter Clausen
83d6a36019
update 2.6.35.x to 2.6.35.7
...
SVN-Revision: 23213
2010-10-04 07:42:32 +00:00
Michael Büsch
cf323eb924
optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine.
...
SVN-Revision: 23196
2010-10-03 12:54:07 +00:00
Jo-Philipp Wich
cb4c39b55d
prime .ipk control files with Status: field to introduce hold for post flash installed packages
...
SVN-Revision: 23175
2010-10-02 04:04:12 +00:00
Jo-Philipp Wich
8b9ca16985
add support for flagging packages
...
SVN-Revision: 23172
2010-10-02 03:21:33 +00:00
Gabor Juhos
b5b21d03c4
package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined
...
SVN-Revision: 23166
2010-10-01 07:09:34 +00:00
Michael Büsch
e9eb82b33b
Add maintainer information to menuconfig description dialog
...
SVN-Revision: 23161
2010-09-30 11:01:01 +00:00
Felix Fietkau
7f80e26661
fix build dependencies on packages with multiple variants but no selected virtual packages
...
SVN-Revision: 23102
2010-09-20 20:17:28 +00:00
Jo-Philipp Wich
9bb6f3b5f3
opkg: - implement --add-dest and --add-arch commandline options, this allows to run entirely without configuration - tweak default config location patch to not require a config in offline root mode - rename --force-run-hooks option to --force-postinstall, its a more appropriate name - utilize new opkg commandline options in package-ipkg.mk and remove config file generation
...
SVN-Revision: 23032
2010-09-12 21:16:02 +00:00
Jo-Philipp Wich
064e7c8f00
Implement an ARCH_PACKAGES variable which defaults to BOARD but can be overridden on a per-subtarget basis. This is intended for targets such as adm5120 and malta which support both big and little endianess and will replace the target specific exceptions in package-defaults and Image Builder.
...
SVN-Revision: 23029
2010-09-12 20:49:54 +00:00
Jo-Philipp Wich
6cbd09df64
pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting
...
SVN-Revision: 22990
2010-09-09 21:05:51 +00:00
Michael Büsch
f54f9b25e1
host.mk: Don't use bash-ism
...
SVN-Revision: 22963
2010-09-06 21:22:54 +00:00
Jo-Philipp Wich
b1edd2ac6e
opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
...
SVN-Revision: 22960
2010-09-06 19:58:05 +00:00
Jo-Philipp Wich
9d74fc3eb3
use opkg/host for package installation - speeds up rebuild operations - aligns generated package list format with the one created by opkg on the target - fixes broken dependency handling in imagebuilder
...
SVN-Revision: 22949
2010-09-06 02:15:46 +00:00
Felix Fietkau
392888845c
fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
...
SVN-Revision: 22934
2010-09-05 16:16:59 +00:00
Jo-Philipp Wich
6734c999af
ignore vim .swp files when scanning for updates ( #7867 )
...
SVN-Revision: 22880
2010-09-03 12:31:18 +00:00
Felix Fietkau
00d1e599d7
add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
...
SVN-Revision: 22871
2010-09-01 17:51:36 +00:00
Lars-Peter Clausen
cf445bb48f
Update 2.6.35.x to 2.6.35.4
...
SVN-Revision: 22833
2010-08-29 18:19:20 +00:00
Florian Fainelli
dc6cc63c00
update to 2.6.33.7
...
SVN-Revision: 22767
2010-08-22 17:08:07 +00:00
Florian Fainelli
b1becffa5b
update to 2.6.32.20
...
SVN-Revision: 22766
2010-08-22 17:07:37 +00:00
Hauke Mehrtens
09e05d833d
kernel: update kernel version to 2.6.34.5
...
SVN-Revision: 22759
2010-08-22 13:26:06 +00:00
Michael Büsch
7ebcd04786
Update to 2.6.35.3
...
SVN-Revision: 22753
2010-08-21 19:25:07 +00:00
Michael Büsch
fde498904f
Add an option to default the default build rule to parallel build.
...
SVN-Revision: 22737
2010-08-20 14:48:59 +00:00
Felix Fietkau
c4b3e38fc0
fix libtool fixup for libstdc++
...
SVN-Revision: 22732
2010-08-19 17:46:11 +00:00
Felix Fietkau
b3c871375b
fix compile errors by forcing bash to be used as a shell in all submake processes
...
SVN-Revision: 22726
2010-08-19 13:32:47 +00:00
Felix Fietkau
d9e0d5705a
speed up the ipkg build process some more by reordering commands
...
SVN-Revision: 22722
2010-08-19 12:49:46 +00:00
Felix Fietkau
a9136c0892
speed up the build system by including include/shell.sh on shell commands only where necessary
...
SVN-Revision: 22720
2010-08-19 12:49:37 +00:00
Michael Büsch
f4daa84832
Also support parallel build for host-packages
...
SVN-Revision: 22698
2010-08-18 14:23:06 +00:00
Michael Büsch
7ed7784f59
Support parallel build of certain packages
...
SVN-Revision: 22696
2010-08-18 13:57:58 +00:00
Lars-Peter Clausen
b4a1337cf9
Add build variants support to InstallDev
...
Before building a build variant would have removed the staging files installed
by the previous build variant from the same makefile.
SVN-Revision: 22668
2010-08-16 09:45:21 +00:00
Gabor Juhos
2126f5a1cd
generic: fix kernel version check for 2.6.35
...
SVN-Revision: 22642
2010-08-14 21:07:23 +00:00
Florian Fainelli
371d5c7cc7
add 2.6.35 md5sum
...
SVN-Revision: 22538
2010-08-08 20:00:35 +00:00
Lars-Peter Clausen
a97d6b0c95
Add kernel_nconfig make target
...
SVN-Revision: 22518
2010-08-06 21:36:35 +00:00
Jo-Philipp Wich
fa802af399
support unpacking of .tar.xz archives, no prereq on xzcat for now
...
SVN-Revision: 22517
2010-08-06 21:29:23 +00:00
Jo-Philipp Wich
e47a8a001c
revert r22372 and r22405, dependency on host libtool causes problems
...
SVN-Revision: 22406
2010-07-28 02:18:16 +00:00
Jo-Philipp Wich
8c1d9afc40
use host opkg for installing packages in buildroot and ImageBuilder
...
SVN-Revision: 22372
2010-07-23 19:49:19 +00:00
Felix Fietkau
fd8142403e
add a build system option for collecting all kernel debug information (including modules) in a tarball
...
SVN-Revision: 22327
2010-07-21 15:18:24 +00:00
Imre Kaloz
41844dba86
we don't care about the md5sums for -rc kernels
...
SVN-Revision: 22290
2010-07-19 11:35:30 +00:00
Imre Kaloz
ca8f45b142
update kernel versions
...
SVN-Revision: 22289
2010-07-19 11:34:03 +00:00
Alexandros C. Couloumbis
57d2e57b02
finalize r22241 fixes
...
SVN-Revision: 22242
2010-07-17 08:50:19 +00:00
Nicolas Thill
5cc5f15047
partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external modules in ./packages
...
SVN-Revision: 22146
2010-07-12 16:01:13 +00:00
Claudio Mignanti
2d86ea7bf3
massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
...
SVN-Revision: 22145
2010-07-12 14:06:13 +00:00
Hauke Mehrtens
e2ce2feedb
kernel: update to kernel 2.6.34.1
...
SVN-Revision: 22118
2010-07-10 22:39:52 +00:00
Felix Fietkau
da1bb88a2b
rename target/linux/generic-2.6 to generic
...
SVN-Revision: 21952
2010-06-26 20:42:58 +00:00
Felix Fietkau
6117c04c94
remove linux 2.4 specific build system code
...
SVN-Revision: 21951
2010-06-26 20:42:38 +00:00
Felix Fietkau
157f44d718
remove linux 2.4 kernel versions
...
SVN-Revision: 21950
2010-06-26 20:42:30 +00:00
Jo-Philipp Wich
91468dcf4f
package TPROXY target and module infrastructure
...
SVN-Revision: 21883
2010-06-22 22:39:22 +00:00
Alexandros C. Couloumbis
b6e28298fe
include/netfilter.mk fix typo on r21795
...
SVN-Revision: 21796
2010-06-14 14:51:51 +00:00
Alexandros C. Couloumbis
e491939c70
include/netfilter.mk: add 2.6.35 kernel support
...
SVN-Revision: 21795
2010-06-14 14:44:27 +00:00
Alexandros C. Couloumbis
a2225b8b29
generic-2.6: add kernel 2.6.35 preliminary support
...
SVN-Revision: 21695
2010-06-07 05:54:29 +00:00
Nicolas Thill
e74e289fa8
update linux kernel to 2.6.32.14
...
SVN-Revision: 21583
2010-05-27 18:09:09 +00:00
Hauke Mehrtens
b18a1d217b
kernel: update kernel to version 2.6.32.13 and 2.6.33.4
...
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Lars-Peter Clausen
ba30e23bbc
Add checksum for 2.6.34, refresh 2.6.34 patches and update targets from 2.6.34-rcX to 2.6.34
...
SVN-Revision: 21498
2010-05-17 22:05:07 +00:00
Felix Fietkau
73b78d4a75
only build bin packages for the selected build variants (same behaviour as with ipkg builds)
...
SVN-Revision: 21455
2010-05-15 15:57:00 +00:00
Nicolas Thill
c69cb2e520
image/ext2: fix rootfs partition size after [21362]
...
SVN-Revision: 21369
2010-05-05 06:14:32 +00:00
Nicolas Thill
08be2bcfd9
buildsystem: add a macro to test options supported by the host compiler
...
SVN-Revision: 21304
2010-05-02 17:22:01 +00:00
Nicolas Thill
23aa8be261
include: rearrange image.mk, indent, reorder, change some ifeq/ifneq tests
...
SVN-Revision: 21244
2010-04-29 00:44:26 +00:00
Nicolas Thill
224db523da
replace old quote stripping with calls to qstrip macro
...
SVN-Revision: 21242
2010-04-29 00:32:44 +00:00
Nicolas Thill
b3b591c000
buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
...
SVN-Revision: 21238
2010-04-28 14:47:43 +00:00
Nicolas Thill
7992df3721
images: allow generating .cpio.gz and/or .tar.gz archives whether ramdisk is selected or not
...
SVN-Revision: 21237
2010-04-28 14:27:03 +00:00
Alexandros C. Couloumbis
fdac9ae836
sync to kernel 2.6.32.12
...
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Alexandros C. Couloumbis
de4fcf04ec
add 2.6.33.3 & 2.6.32.12 kernel checksums
...
SVN-Revision: 21180
2010-04-27 08:39:06 +00:00
Gabor Juhos
4be3c3e48c
kernel: refresh patches for 2.6.34-rc5 and update md5sum
...
SVN-Revision: 21082
2010-04-22 07:13:21 +00:00
Gabor Juhos
81062a12ac
kernel: refresh patches for 2.6.33.2, and drop md5sum for older 2.6.32 kernels
...
SVN-Revision: 21081
2010-04-22 07:12:09 +00:00
Felix Fietkau
8149815189
fix gnu find prereq check
...
SVN-Revision: 21078
2010-04-21 20:42:09 +00:00
Felix Fietkau
091934e7fb
fix timestamp checks for build system paths which have '.svn' in their directory name
...
SVN-Revision: 20856
2010-04-14 22:21:15 +00:00
Alexandros C. Couloumbis
668fd62080
don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. switch verbose mode on compresor statistics.
...
SVN-Revision: 20844
2010-04-13 21:36:58 +00:00
Alexandros C. Couloumbis
498bf7402a
update kernel checksums
...
SVN-Revision: 20842
2010-04-13 20:11:50 +00:00
Alexandros C. Couloumbis
43ee14563c
finalize lzma/jffs2 support (currently not enebled by default, for kernels >=2.6.33) based on Edgar Soldin patches: https://lists.openwrt.org/pipermail/openwrt-devel/2010-March/006550.html
...
SVN-Revision: 20837
2010-04-13 14:07:22 +00:00
Nicolas Thill
e2b57ecf5f
define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
...
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Nicolas Thill
aa8e2e8685
netfilter: extension fixes (partially closes : #7045 ) * add missing xt_owner (2.6) * enable ipt_quota (2.4), disabled in [8499] is building fine with recent iptables * add missing ipt_nat_tftp (2.4) * add missing nf_nat_amanda (2.6)
...
SVN-Revision: 20693
2010-04-04 12:35:06 +00:00
Nicolas Thill
1b0a9b51c4
include/netfilter.mk: move ebtables definitions at the end
...
SVN-Revision: 20690
2010-04-04 03:43:13 +00:00
Nicolas Thill
4ba18f5916
download.mk: fix bzr download method
...
SVN-Revision: 20582
2010-03-29 13:06:19 +00:00
Felix Fietkau
e10df8d2b5
add a new helper macro to deal with conditional ./configure flags
...
SVN-Revision: 20570
2010-03-29 03:38:40 +00:00
Felix Fietkau
965f770083
prevent kernel.mk from defining PATCH_DIR and FILES_DIR for regular packages
...
SVN-Revision: 20569
2010-03-29 03:07:54 +00:00
Hauke Mehrtens
3dd6909c20
Some dependencies that are depending on target are not added into the Depends line in the control file of the package. For example +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb does not result in kmod-ssb for the x86 target or any other target.
...
This fixes #6874
SVN-Revision: 20553
2010-03-28 19:22:59 +00:00
Gabor Juhos
e66a368bd1
kernel: update to 2.6.32.10
...
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Lars-Peter Clausen
2bc9d6f6e9
include/target.mk: Only set usb feature flag for a target if there is a HCD
...
SVN-Revision: 20425
2010-03-25 15:04:44 +00:00
Jo-Philipp Wich
40781b7290
the svn fallback code added in r20322 is evaluated with each make invocation and produces a lot of spurious "svn: broken pipe" error - replace it with a more efficient version
...
SVN-Revision: 20377
2010-03-23 01:21:50 +00:00
Florian Fainelli
7af8ee0481
change from /jffs to /overlay, patch from Daniel Dickinson
...
SVN-Revision: 20356
2010-03-21 17:16:50 +00:00
Florian Fainelli
e7f046805a
disable ucitrigger for now, not used, patch from Dave Kooper
...
SVN-Revision: 20355
2010-03-21 17:16:45 +00:00
Florian Fainelli
b195af191b
fix svn download with older svn client versions
...
SVN-Revision: 20322
2010-03-20 17:18:47 +00:00
Florian Fainelli
08a790efb6
accept unknown server certificates by default on svn download
...
Some packages sources need to be checked out from server with unknown
certificates, silently accept by default in order not to stop builds, thanks rhk.
SVN-Revision: 20299
2010-03-19 13:44:47 +00:00
Markus Wigge
cfdbb2508d
new kernel checksums: 2.6.32.10 2.6.33.1
...
SVN-Revision: 20241
2010-03-16 13:04:03 +00:00
Travis Kemen
db7082d899
Updated post r19769, integrates the missing dl_method bzr hunk from #6370 , uses the export subcommand for the vcs' that provide a usable version (hg archive doesn't work remotely, git archive isn't enabled on github), from #6700
...
SVN-Revision: 20222
2010-03-14 21:55:11 +00:00
Nicolas Thill
a9dc020014
sort entries in images md5sums files
...
SVN-Revision: 20116
2010-03-10 04:03:37 +00:00
Travis Kemen
e09067b221
The attached patch replaces $(1) install by $(if $(1), $(1), install) in the definition, in order to be able to specify an install rule, which is not always called install (example: trunk/package/ncurses/Makefile has rules called install.libs and install.data).
...
Then its possible to do this in ncurses Makefile:
define Build/Install
$(call Build/Install/Default, install.libs install.data)
endef
This patch does not affect anything else, as if no parameter is given,
it will use install as before.
-Raphael
SVN-Revision: 19996
2010-03-05 20:19:48 +00:00
Travis Kemen
cf7199f48b
this patch fixes toolchain parallel build, which reduces build time.
...
In order to enable parallel build, change line 21 of
include/host-build.mk from:
override MAKEFLAGS=
to:
override MAKEFLAGS=$(MAKE_JOBS)
-Raphael
SVN-Revision: 19995
2010-03-05 20:15:12 +00:00
Lars-Peter Clausen
d77662c7a3
image.mk: Adjust ubifs build behaviour to that of others image types
...
SVN-Revision: 19985
2010-03-05 04:14:03 +00:00
Matteo Croce
5ddd984cff
kernel: add 2.6.33 patches
...
SVN-Revision: 19905
2010-02-28 15:20:00 +00:00
Hauke Mehrtens
0c7b285613
kernel: update to kernel 2.6.32.9
...
SVN-Revision: 19890
2010-02-28 10:16:47 +00:00
Felix Fietkau
93489b721e
add support for marking specific kernel module packages as potentially being required for mounting the rootfs (patch by cshore)
...
SVN-Revision: 19878
2010-02-26 22:45:54 +00:00
Jo-Philipp Wich
42e453a2e3
properly package xt_comment.ko ( #6742 )
...
SVN-Revision: 19861
2010-02-26 00:23:39 +00:00
Felix Fietkau
15fecc9e6c
remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added
...
SVN-Revision: 19849
2010-02-24 23:43:05 +00:00
Lars-Peter Clausen
bd2e3ccd6f
autotools.mk: Don't try to fixup .la files in the DevInstall host path, because those .la files shouldn't go there anyway.
...
SVN-Revision: 19785
2010-02-20 23:40:53 +00:00
Travis Kemen
f04ad5bb5f
this patch adds support for bzr in include/download.mk, and fixes whitespace.
...
-Raphael
SVN-Revision: 19769
2010-02-20 04:48:07 +00:00
Hauke Mehrtens
a40daa8038
update kernel to version 2.4.37.9 and refresh patches
...
SVN-Revision: 19762
2010-02-19 21:30:10 +00:00
Jo-Philipp Wich
15c4e22d31
netfilter: add support for raw table and NOTRACK target ( #5504 )
...
SVN-Revision: 19721
2010-02-19 01:36:47 +00:00
Lars-Peter Clausen
d38ce9313b
autotools.mk: Add PKG_LIBTOOL_PATHS variable.
...
PKG_LIBTOOL_PATHS can be used to specify to tell libtool_fixup where to look
for libtool scripts of a package. This is useful if a package has it's libtool
script in a non-standard location or has multiple libtool scripts.
The value should be a space seperated list of paths which are relative to
$(PKG_BUILD_DIR). It defautls to $(CONFIGURE_PATH).
SVN-Revision: 19713
2010-02-18 23:50:44 +00:00
Felix Fietkau
8e808a54c2
Revert "sort Kconfig symbols automatically to make Kaloz happy :p" Relying on some sort implementations' weird behaviour of ignoring # and whitespaces at the beginning of a line is not a good idea, and it's certainly not portable
...
SVN-Revision: 19675
2010-02-16 21:34:50 +00:00
Travis Kemen
5c75e1dd02
update kernel from 2.6.32.7 to 2.6.32.8, thanks tripolar
...
SVN-Revision: 19591
2010-02-12 01:12:11 +00:00
Gabor Juhos
03779da9c6
sort Kconfig symbols automatically to make Kaloz happy :p
...
SVN-Revision: 19582
2010-02-11 13:07:10 +00:00
Imre Kaloz
7b367d0313
with no users left, remove support for 2.6.21
...
SVN-Revision: 19578
2010-02-11 08:37:57 +00:00
Imre Kaloz
32db1d47ff
we use per-target kernel versions for 2.6 for a long time now
...
SVN-Revision: 19577
2010-02-11 08:35:33 +00:00
Lars-Peter Clausen
6f3db147b6
Allow colored output to be disabled when running a non-verbose build by setting NO_COLOR=1
...
SVN-Revision: 19560
2010-02-08 22:28:19 +00:00
Mike Baker
129a1e0714
disable stdin unless make V=99; fixes bug where compilation can stall waiting for input
...
SVN-Revision: 19511
2010-02-04 04:43:17 +00:00
Lars-Peter Clausen
93567fed7a
autotools.mk: Add libstdc++ quirk to libtool_fixup_libdir. Fixes build of packages which use libtool and link against packages which link against libstdc++
...
SVN-Revision: 19399
2010-01-30 14:51:22 +00:00
Imre Kaloz
e831384efb
update to 2.6.32.7
...
SVN-Revision: 19379
2010-01-29 12:19:31 +00:00
Gabor Juhos
6ff3e61cf7
kernel: update to 2.6.32.6
...
SVN-Revision: 19358
2010-01-28 11:54:20 +00:00
Felix Fietkau
fdf2ba873a
unset user overrides for quilt settings to prevent them from interfering with the build process ( #6553 )
...
SVN-Revision: 19332
2010-01-25 21:45:10 +00:00
Felix Fietkau
42e4f83096
fix rootfs preparation with rootfs containing files with whitespaces in the filename (based on patch from #6551 )
...
SVN-Revision: 19282
2010-01-22 23:10:57 +00:00
Imre Kaloz
a827205280
update to latest kernel versions
...
SVN-Revision: 19224
2010-01-19 11:53:56 +00:00
Felix Fietkau
4af8308788
make sure that processed directories are printed on make V=99
...
SVN-Revision: 19174
2010-01-16 22:18:56 +00:00
Jo-Philipp Wich
4d904cf081
allow download urls using the file:// schema ( #6480 )
...
SVN-Revision: 19120
2010-01-13 19:38:53 +00:00
Lars-Peter Clausen
db06ca593b
Add support for building ubifs images.
...
SVN-Revision: 19097
2010-01-11 01:10:45 +00:00
Imre Kaloz
f8834b9c70
upgrade to latest kernels
...
SVN-Revision: 19087
2010-01-09 23:13:27 +00:00
Lars-Peter Clausen
144fd07cd8
Prevent unnecessary host package rebuilds.
...
Sometimes `make install` touches a file inside the build directory, so it is
betterr to create the build stamp after calling `make install` otherwise the
package is going to be rebuild even though nothing really changed.
SVN-Revision: 19021
2010-01-03 18:00:28 +00:00
Gabor Juhos
311c91775d
kernel: update to 2.6.31.9 and 2.6.32.2, and refresh patches
...
SVN-Revision: 18982
2010-01-01 11:11:17 +00:00
Imre Kaloz
06d8dc9329
get rid of even more 2.6.28 stuff
...
SVN-Revision: 18953
2009-12-27 21:35:42 +00:00
Nicolas Thill
fda45977ec
use a common site/linux config, since site/linux-gnu & site/linux-uclibc configs are identical
...
SVN-Revision: 18811
2009-12-18 10:38:16 +00:00
Felix Fietkau
3c74d0b385
do not download kernel sources when using an external kernel tree
...
SVN-Revision: 18777
2009-12-14 13:54:03 +00:00
Imre Kaloz
948ecb59d9
upgrade to 2.6.31.7
...
SVN-Revision: 18747
2009-12-11 11:10:49 +00:00
Jo-Philipp Wich
e830181f47
iptables: add comment match to the core package
...
SVN-Revision: 18706
2009-12-08 20:52:58 +00:00
Gabor Juhos
1b04095cb2
kernel: add md5sum for 2.6.32 final, and refresh patches
...
SVN-Revision: 18636
2009-12-04 20:26:55 +00:00
Florian Fainelli
a47b8566a1
update to 2.6.30, refresh patches
...
SVN-Revision: 18635
2009-12-04 14:52:45 +00:00
Imre Kaloz
b1b45530ab
upgrade x86 to 2.6.31.6, resync patches
...
SVN-Revision: 18609
2009-11-30 10:32:20 +00:00
Felix Fietkau
d55a046c48
ar71xx: the squashfs-4k images are unreliable in some builds. add 4k, 8k padding to the generic squashfs images and use them on 4k devices as well
...
SVN-Revision: 18526
2009-11-24 13:55:40 +00:00
Felix Fietkau
79fcadc146
hostapd: fix rebuild checks ( #6210 )
...
SVN-Revision: 18497
2009-11-23 17:12:54 +00:00
Felix Fietkau
f1da5431bb
build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package)
...
SVN-Revision: 18464
2009-11-22 07:08:39 +00:00
Imre Kaloz
0ebb9220a0
make lzo compressed initramfs selectable, too
...
SVN-Revision: 18457
2009-11-21 15:20:11 +00:00
Felix Fietkau
ea41d3a288
merge target kernel config files with subtarget config files and add a variable override for editing the target kernel config file with make kernel_menuconfig in case the subtarget contains overrides (thx, sn9)
...
SVN-Revision: 18362
2009-11-11 01:25:06 +00:00
Felix Fietkau
bf2fe7ea9a
automatically adjust CONFIG_BLK_DEV_INITRD in the kernel config (thx, sn9)
...
SVN-Revision: 18361
2009-11-11 01:25:02 +00:00
Felix Fietkau
579d54038b
build system: introduce a new feature called build variants. it allows building a package multiple times in one pass with different build dirs, based on the same build settings. replaces templating hacks like the one used in the hostapd package
...
SVN-Revision: 18357
2009-11-10 22:00:54 +00:00
Felix Fietkau
cba2a6b1fd
fix one more instance of r18295
...
SVN-Revision: 18301
2009-11-04 22:51:07 +00:00
Felix Fietkau
7a75347b26
fix platform specific overrides for kernel modules, fixes lp on brcm-2.4
...
SVN-Revision: 18295
2009-11-04 21:54:53 +00:00
Felix Fietkau
7f75186333
unbreak brcm-2.4
...
SVN-Revision: 18287
2009-11-03 15:38:04 +00:00
Imre Kaloz
5aba9ecbd3
use the new option for creating squashfs4-lzma images
...
SVN-Revision: 18269
2009-11-02 09:53:29 +00:00
Felix Fietkau
affe22dce7
binutils: fix path to cloog and ppl
...
SVN-Revision: 18265
2009-11-02 00:47:24 +00:00
Andy Boyett
1141aecd2a
use $(HOST_CFLAGS) when not cross-compiling. Thanks Daniel Gimpelevich
...
SVN-Revision: 18232
2009-10-30 22:52:27 +00:00
Florian Fainelli
4b09e185f2
remove support for 2.6.27, no target is using it anymore
...
SVN-Revision: 18201
2009-10-29 12:20:45 +00:00
Imre Kaloz
ed19cab256
swap logic on squashfs version selection
...
SVN-Revision: 18163
2009-10-26 12:06:47 +00:00
Florian Fainelli
21367682e8
update to 2.6.31.5
...
SVN-Revision: 18127
2009-10-23 12:13:00 +00:00
Florian Fainelli
d4b251bdb8
update to 2.6.30.9
...
SVN-Revision: 18126
2009-10-23 12:10:25 +00:00
Florian Fainelli
46c66bba36
update to 2.6.27.35
...
SVN-Revision: 18125
2009-10-23 09:12:17 +00:00
Felix Fietkau
94cdcbde6d
add experimental support for a new menuconfig submenu "Package features". allows selection between multiple packages providing the same feature, which affects dependencies of other packages. will be used e.g. for choosing between DirectFB and X.org for libraries like GTK2
...
SVN-Revision: 18056
2009-10-17 22:11:21 +00:00
Nicolas Thill
72dbf7cdca
netfilter: remove IPset leftovers missed from [17844]
...
SVN-Revision: 18032
2009-10-11 14:08:31 +00:00
Nicolas Thill
25d21566aa
adjust pointer size from 4 to 8 bytes in x86_64 site config
...
SVN-Revision: 17845
2009-10-04 00:44:32 +00:00
Gabor Juhos
054c54512f
kernel: upgrade to 2.6.30.8 and refresh patches
...
SVN-Revision: 17804
2009-10-01 10:07:32 +00:00
Hauke Mehrtens
e014faf13f
Update ipset to version 3.2
...
SVN-Revision: 17764
2009-09-27 15:03:41 +00:00
Hauke Mehrtens
f9b2e12b61
Update to kernel 2.6.31.1
...
SVN-Revision: 17737
2009-09-26 13:28:32 +00:00
Felix Fietkau
7de1e0f116
host build: do not hide the configure command
...
SVN-Revision: 17716
2009-09-25 09:28:14 +00:00
Imre Kaloz
85fcc97a13
update to latest 2.6.27 and 2.6.30 kernels
...
SVN-Revision: 17602
2009-09-17 11:22:33 +00:00
Felix Fietkau
fb7fa9b3fd
build prereq: look for tar under the name "gnutar" as well
...
SVN-Revision: 17575
2009-09-14 10:40:04 +00:00
Florian Fainelli
031e6f65ba
update to 2.6.27.33
...
SVN-Revision: 17569
2009-09-11 07:45:08 +00:00
Gabor Juhos
c7d90d3dc4
kernel: add md5sum for 2.6.31 final, and refresh 2.6.31 patches
...
SVN-Revision: 17558
2009-09-10 13:37:31 +00:00
Florian Fainelli
3ce53b8d92
update to 2.6.30.6, compile tested on some targets only
...
SVN-Revision: 17549
2009-09-09 07:35:06 +00:00
Florian Fainelli
43d0be69d7
update to 2.6.27.32
...
SVN-Revision: 17548
2009-09-09 07:13:09 +00:00
Gabor Juhos
f7033929fa
add menuconfig option for enabling debugfs support in the kernel
...
SVN-Revision: 17540
2009-09-08 07:25:20 +00:00
Felix Fietkau
3b61c2c2b1
now that $(BOARD) is part of the opkg ARCH, there's no reason to keep the board name around in kmod-* package versions anymore
...
SVN-Revision: 17528
2009-09-06 17:26:37 +00:00
Felix Fietkau
c4b197737e
do not fail on empty packages
...
SVN-Revision: 17504
2009-09-03 02:53:13 +00:00
Felix Fietkau
d1f1ff5759
get rid of old data before staging unstripped package binaries
...
SVN-Revision: 17498
2009-09-03 01:10:37 +00:00
Felix Fietkau
e6ceb1cace
build: when staging unstripped package files, install them to a temporary directory first to work around file overwrite issues in packages like asterisk
...
SVN-Revision: 17477
2009-09-02 19:01:09 +00:00
Felix Fietkau
5af113eb7c
add support for build system overlays that alter package build instructions currently unused, will probably be managed by the feeds system later
...
SVN-Revision: 17445
2009-08-31 01:11:25 +00:00
Gabor Juhos
71a3d54218
create v4 squashfs image for 2.6.31
...
SVN-Revision: 17406
2009-08-26 09:52:25 +00:00
Felix Fietkau
106a08103f
change HOST_STAMP_PREPARED for toolchain builds to make sure that added/removed patches do not trigger partial toolchain rebuilds
...
SVN-Revision: 17392
2009-08-24 23:22:28 +00:00
Felix Fietkau
822615cb6b
merge the control file and the .ipk file targets into one to prevent them from going out of sync
...
SVN-Revision: 17332
2009-08-20 15:48:41 +00:00
Felix Fietkau
59d130d867
fix multiple ipkg builds of the same arch but with different targets in the same checkout
...
SVN-Revision: 17325
2009-08-20 14:04:40 +00:00
Felix Fietkau
2bb863f337
when regenerating an ipkg package, make sure the entire ipkg build dir is cleaned as well to prevent stale files from making it into the package after configuration changes
...
SVN-Revision: 17313
2009-08-19 15:12:54 +00:00
Florian Fainelli
0c5a73ec9b
use 2.6.30.5
...
SVN-Revision: 17296
2009-08-17 15:05:26 +00:00
Florian Fainelli
7f36797bb7
ensure CONTROL directory is created ( #5683 )
...
SVN-Revision: 17293
2009-08-17 10:14:25 +00:00
Florian Fainelli
63b86723b1
switch to 2.6.27.30
...
SVN-Revision: 17291
2009-08-17 09:17:06 +00:00
Gabor Juhos
e2f5de7a46
add menuconfig option for selecting initramfs compression
...
SVN-Revision: 17283
2009-08-16 05:35:34 +00:00
Florian Fainelli
1a63c3347b
use 2.4.37.5
...
SVN-Revision: 17257
2009-08-14 13:56:17 +00:00
Felix Fietkau
bb5a40c64b
add an optional config option for stripping all unnecessary symbol exports from the kernel image
...
SVN-Revision: 17181
2009-08-08 14:22:04 +00:00
Felix Fietkau
b0bf5fd9a0
add target for library specific installations into the root staging dir, fix ipkg build dependency on the package build stamp
...
SVN-Revision: 17168
2009-08-08 02:24:37 +00:00
Felix Fietkau
4169a2e834
add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later
...
SVN-Revision: 17167
2009-08-07 21:58:35 +00:00
Felix Fietkau
dcd0e4a672
work around a threading bug in mksquashfs4 by limiting the number of threads to 1
...
SVN-Revision: 17146
2009-08-06 12:55:41 +00:00
Imre Kaloz
3d0c1254df
brcm-2.4 is the only non-2.6 target, it's pointless to note the kernelversion in other targets' Target-Name
...
SVN-Revision: 17102
2009-08-03 11:44:28 +00:00
Imre Kaloz
671280830d
add special handling for the adm5120 target, which uses subtargets for different endianess -- later we should come up with something smarter
...
SVN-Revision: 17101
2009-08-03 11:24:56 +00:00
Florian Fainelli
e5221c1405
revert 17050 this was not the right way to fix this
...
SVN-Revision: 17075
2009-08-01 12:10:22 +00:00
Imre Kaloz
9711e6ad55
use board names instead of arch in packages
...
SVN-Revision: 17063
2009-07-31 12:15:51 +00:00
Florian Fainelli
ab5bc14973
update to 2.6.30.4
...
SVN-Revision: 17062
2009-07-31 11:13:55 +00:00
Florian Fainelli
252607a79c
update to 2.6.27.29
...
SVN-Revision: 17060
2009-07-31 11:09:27 +00:00
Florian Fainelli
04fc02ba10
move the global ipv6 option to the very bottom of the options passed to configure scripts, so that we can still override it in package makefiles ( #5592 , #5586 )
...
SVN-Revision: 17050
2009-07-30 13:05:51 +00:00
Florian Fainelli
96ea82326c
use 2.4.37.4 for brcm-2.4
...
SVN-Revision: 17045
2009-07-29 21:28:33 +00:00
Florian Fainelli
b2c26c32dd
switch to 2.6.30.3
...
SVN-Revision: 17028
2009-07-27 10:02:24 +00:00
Florian Fainelli
103c99b960
switch to 2.6.27.28
...
SVN-Revision: 17027
2009-07-27 10:01:33 +00:00
Florian Fainelli
25a583126d
remove 2.6.23 version, it is no longer in use
...
SVN-Revision: 17026
2009-07-27 09:01:42 +00:00
Florian Fainelli
11e1304ca0
globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default ( #4857 )
...
SVN-Revision: 16983
2009-07-25 21:45:51 +00:00
Florian Fainelli
0e783dde14
split ebtables packages and modules into ebtables ipv4/6 and watchers ( #5001 )
...
SVN-Revision: 16980
2009-07-25 19:47:48 +00:00
Florian Fainelli
07c4108af6
use --binary option of md5sum to improve compatibility with other platforms ( #5192 )
...
SVN-Revision: 16977
2009-07-25 17:16:00 +00:00
Florian Fainelli
c4d517c7bb
use 2.6.27.7
...
SVN-Revision: 16968
2009-07-24 17:03:03 +00:00
Florian Fainelli
a06b20f5b3
fix ip6tables installation against ip6t_HL which has been merged in xt_HL since 2.6.29 ( #5568 )
...
SVN-Revision: 16964
2009-07-24 11:52:30 +00:00
Felix Fietkau
fd51984e64
add sitefile definitions for ac_cv_func_setgrent_void
...
SVN-Revision: 16962
2009-07-23 15:50:51 +00:00
Imre Kaloz
c3aa860a11
update to 2.6.30.2
...
SVN-Revision: 16931
2009-07-20 10:18:56 +00:00
Felix Fietkau
12b429b3a2
get rid of linux 2.6.29
...
SVN-Revision: 16883
2009-07-17 16:20:25 +00:00
Felix Fietkau
7dc435ea29
move the toolchain_install stampfile to the right place to fix spurious missing toolchain errors after cleaning stuff
...
SVN-Revision: 16776
2009-07-11 12:48:59 +00:00
Gabor Juhos
1981fd14a7
bump to 2.6.29.6 and refresh patches
...
SVN-Revision: 16698
2009-07-05 15:08:56 +00:00
Florian Fainelli
f74d16548d
update targets to 2.6.30.1, update patches
...
SVN-Revision: 16697
2009-07-05 14:39:13 +00:00
Florian Fainelli
fefeecf52f
update to latest 2.6.27.26 stable kernel
...
SVN-Revision: 16659
2009-07-03 09:31:52 +00:00
Florian Fainelli
d413a9639e
Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks Daniel Dickinson ( #5255 )
...
SVN-Revision: 16656
2009-07-02 13:08:08 +00:00
Imre Kaloz
2004d4165a
add preliminary coldfire v4e support
...
SVN-Revision: 16538
2009-06-21 18:34:07 +00:00
Florian Fainelli
a68fe5655e
use 2.6.27.5
...
SVN-Revision: 16486
2009-06-17 08:46:47 +00:00
Hauke Mehrtens
a352413d20
Update kernel to 2.4.37.2
...
SVN-Revision: 16449
2009-06-14 11:37:28 +00:00
Hamish Guthrie
6103f5ecba
Add 2.6.30 final
...
SVN-Revision: 16418
2009-06-11 08:17:21 +00:00
Felix Fietkau
0d442a08b6
enable ucitrigger by default
...
SVN-Revision: 16403
2009-06-10 14:37:46 +00:00
Lars-Peter Clausen
246a5b334d
More libtool madness: Every package which was using c++ and libtool fixup was linked against libstd++ even though if it should have been linked against uclibc++. This is fixed by providing a special version of libtool fixup for packages which should use uclibc++. Not pretty but functional. Packages linking against uclibc++ should use PKG_FIXUP:=libtool-ucxx instead of PKG_FIXUP:=libtool
...
Somebody should probably check all packages using c++ with a dependency on stdlibc++
if uclibc++ can be used instead now.
SVN-Revision: 16317
2009-06-04 00:20:01 +00:00
Imre Kaloz
72d88f2a48
add pcie feature flag
...
SVN-Revision: 16293
2009-06-02 09:50:43 +00:00
Ralph Hempel
b6e5025f15
fix typo
...
SVN-Revision: 16236
2009-05-31 16:15:47 +00:00
Ralph Hempel
6f29703625
add dist and distcheck target (to create new source balls)
...
SVN-Revision: 16230
2009-05-31 12:01:05 +00:00
Ralph Hempel
3dc92527a3
add package source path override - use external source tree instead of source ball - the external package source tree will be included as symlink - make package/<name>/clean will delete the symlink instead of whole source tree - usefull in conjunction with external SCM like ClearCase - package-version-override.mk has to be included before package.mk
...
SVN-Revision: 16227
2009-05-31 11:35:13 +00:00
Florian Fainelli
43296ea284
use 2.4.37.1
...
SVN-Revision: 16149
2009-05-28 16:42:29 +00:00
Ralph Hempel
c4d7af7094
added BUILD_LOG_DIR variable, make clean will delete the ./logs dir
...
SVN-Revision: 16148
2009-05-28 16:30:04 +00:00
Florian Fainelli
cec852c087
update to 2.4.37, tested on wrt54gs ( #4766 )
...
SVN-Revision: 16144
2009-05-28 15:55:54 +00:00