Commit graph

865 commits

Author SHA1 Message Date
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