Commit graph

1119 commits

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