Commit Graph

1149 Commits (bbbe814948834240891701a86d1cdc9dc7ea9d4e)

Author SHA1 Message Date
Jo-Philipp Wich dc2cceb6cb [include] autotools.mk: touch NEWS, AUTHORS, COPYING and ChangeLog, automake wants them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 06:05:41 +00:00
Jo-Philipp Wich 19b9cbe903 [include] autotools.mk: always pass -I m4, some package don't seem to set correct AMFLAGS (or any at all..)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 01:24:16 +00:00
Jo-Philipp Wich ec90a456a6 [include] autotools.mk: don't rely on shipped autogen.sh files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 01:14:14 +00:00
Jo-Philipp Wich 1268147a10 [include] autotools.mk: explicately pass toolchain versions of automake, autoconf, libtoolize, ... to autoreconf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 00:19:08 +00:00
Imre Kaloz dcaba4757f add plemininary ultrasparc support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 07:57:22 +00:00
Jo-Philipp Wich 853ff77a2c [include]
- implement hooks for hostbuilds
	- use host build hooks to implement fixups for host build
	- move separator declaration to rules.mk


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 19:04:33 +00:00
Jo-Philipp Wich 3e09ff9a2e [include] autotools.mk: add yet another aclocal path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 16:05:53 +00:00
Jo-Philipp Wich 44d99a5320 [include] autotools.mk: support autoreconf at different paths, introduce PKG_AUTOMAKE_PATHS which defaults to '.'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 01:44:28 +00:00
Daniel Dickinson 2331563469 [include] Added autoconf flags for gettimeofday and psignal - uClibc has them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 01:43:30 +00:00
Hauke Mehrtens 738117eb86 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 16:07:21 +00:00
Jo-Philipp Wich 1e0decbb96 [buildroot] rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 03:15:10 +00:00
Jo-Philipp Wich efeae2d233 [include] autotools.mk: let PKG_REMOVE_FILES default to aclocal.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 22:59:07 +00:00
Jo-Philipp Wich 26cebaa3da [include] autotools.mk: remove autom4ate.cache directory when autoreconf-ing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 16:28:20 +00:00
Felix Fietkau 955afe2b80 support the autoreconf fixup without libtool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 15:20:51 +00:00
Jo-Philipp Wich 2dc5b96600 [include] autotools.mk: introduce PKG_REMOVE_FILES to delete certain files after applying patches and before doing any fixups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 15:55:05 +00:00
Jo-Philipp Wich a5b5726b4c [include] autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 11:55:41 +00:00
Jo-Philipp Wich e989746744 [include] autotools.mk: allow disabling autoreconf, remove libdir fixup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 02:24:21 +00:00
Jo-Philipp Wich 5b6a0bc948 [include] autotools.mk: allow autogen.sh / autoreconf to fail (for now)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 01:19:52 +00:00
Jo-Philipp Wich dae3c43cc3 [include] autotools.mk: if ./autogen.sh exists, call that. Call autoreconfig only if configure.in or configure.ac exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 01:15:38 +00:00
Jo-Philipp Wich 07d0739c17 [include] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 00:54:14 +00:00
Jo-Philipp Wich a2ac1d5f64 [include] re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP and emit a deprecation warning. Packages must specify PKG_BUILD_DEPENDS:=libtool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 19:56:47 +00:00
Mirko Vogt 0d0efee113 [trunk/include/autotools.mk] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 13:44:43 +00:00
Mirko Vogt 06878dba17 [trunk/include/autotools.mk] disable libtool fixups in trunk globally
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 00:11:09 +00:00
Imre Kaloz 1ae1fb6b50 update to the latest stable kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 18:50:11 +00:00
Felix Fietkau 438fd77049 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 14:07:12 +00:00
Felix Fietkau 0ee162c483 use PREFIX/bin instead of PREFIX/sbin for all host builds (fixes e2fsprogs path)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 18:49:18 +00:00
Imre Kaloz 06e8850d41 cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 13:46:09 +00:00
Imre Kaloz 00da58c6ae remove 2.6.25 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 13:43:32 +00:00
Imre Kaloz c1725149e1 switch from ext2 to ext4 (w/o) journaling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 12:12:39 +00:00
Jo-Philipp Wich 2a5914606c [include] package-ipkg.mk: add support for "essential" package flag, fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-11 16:18:01 +00:00
Florian Fainelli a4e62a74a7 [buildroot] make targets provide their KERNELNAME
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-08 07:31:25 +00:00
Michael Büsch 09f68e4a53 InstallDev: Move the "find" out of the lock critical section.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 12:42:37 +00:00
Michael Büsch 8238fd3971 Lock copying of directory trees to the staging dir with the "staging-dir" lock. This lock probably has to be taken elsewhere, too.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 12:28:55 +00:00
Imre Kaloz a497060e39 update kernels to 2.6.32.25 and 2.6.35.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 09:01:08 +00:00
Michael Büsch 99abe56d08 deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 14:58:32 +00:00
Michael Büsch d4b77f3145 Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 15:07:23 +00:00
Florian Fainelli 0ae16236fa [buildroot] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 12:36:44 +00:00
Michael Büsch 20f078ba28 Add md5sum for linux-2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-20 23:07:35 +00:00
Jo-Philipp Wich 94d6c4e9ca [include] netfilter: workaround a userspace/kernel mismatch on Linux 2.6.35 and later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-18 20:39:07 +00:00
Florian Fainelli 089d03f61a [buildroot] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-18 06:58:11 +00:00
Michael Büsch c6fd9b8697 Fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-16 18:46:22 +00:00
Michael Büsch 1718894846 Support force-disabling per-package parallel build with {PKG,HOST}_BUILD_PARALLEL:=0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-16 18:42:58 +00:00
Felix Fietkau 081e19e380 set the umask in toplevel.mk instead of forcing the user to adjust it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 15:53:47 +00:00
Jo-Philipp Wich e97eede58b [include] add a prereq check for umask 0022, other settings will result in broken packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 14:25:29 +00:00
Jo-Philipp Wich 03965bd6f3 [include] quilt.mk: export PATCH for patch-kernel.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-08 09:21:34 +00:00
Jo-Philipp Wich bbcec77333 [include] host.mk: introduce PATCH which refers to either gpatch or patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 11:33:12 +00:00
Jo-Philipp Wich cd91f0efcd [include] rename PATCH to KPATCH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 11:32:09 +00:00
Ralph Hempel e7c0aa70ad [include] add configure as package target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 20:20:13 +00:00
Jo-Philipp Wich 0aedfbfd70 [include] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 19:20:27 +00:00
Jo-Philipp Wich 6c7a71c78e [include] correct default package status info (install -> unknown) - fixes "opkg_conf_write_status_files: Internal error: package ... has a NULL dest"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 17:20:49 +00:00
Imre Kaloz 4bf29e323c [kernel]: upgrade kernel versions to the latest stable ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 10:40:41 +00:00
Lars-Peter Clausen dd2a52b3a0 [kernel] update 2.6.35.x to 2.6.35.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 07:42:32 +00:00
Michael Büsch ef39b40498 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:54:07 +00:00
Jo-Philipp Wich 974c5831e0 [include] prime .ipk control files with Status: field to introduce hold for post flash installed packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 04:04:12 +00:00
Jo-Philipp Wich 30b7385634 [include] add support for flagging packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 03:21:33 +00:00
Gabor Juhos b587a7b92a package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 07:09:34 +00:00
Michael Büsch 3b225c1032 Add maintainer information to menuconfig description dialog
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-30 11:01:01 +00:00
Felix Fietkau 32b6ebf57c fix build dependencies on packages with multiple variants but no selected virtual packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 20:17:28 +00:00
Jo-Philipp Wich f10bd899e6 [package] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 21:16:02 +00:00
Jo-Philipp Wich 69c9cad2a1 [buildroot] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 20:49:54 +00:00
Jo-Philipp Wich 0d80fe1320 [include] pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-09 21:05:51 +00:00
Michael Büsch ac52578132 host.mk: Don't use bash-ism
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 21:22:54 +00:00
Jo-Philipp Wich d9386d548b [package] opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 19:58:05 +00:00
Jo-Philipp Wich e6b1eeef0c [buildroot] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 02:15:46 +00:00
Felix Fietkau 607146b4f2 fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:16:59 +00:00
Jo-Philipp Wich 6fe46ff0d1 [include] ignore vim .swp files when scanning for updates (#7867)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 12:31:18 +00:00
Felix Fietkau e3b691c96c add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +00:00
Lars-Peter Clausen 9e71dd15ae [kernel] Update 2.6.35.x to 2.6.35.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-29 18:19:20 +00:00
Florian Fainelli 4b4be29af2 [kernel] update to 2.6.33.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 17:08:07 +00:00
Florian Fainelli 53fe275b46 [kernel] update to 2.6.32.20
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 17:07:37 +00:00
Hauke Mehrtens 3de7c99eb3 kernel: update kernel version to 2.6.34.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 13:26:06 +00:00
Michael Büsch 6f9b7988d5 Update to 2.6.35.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-21 19:25:07 +00:00
Michael Büsch d8f3c30df1 Add an option to default the default build rule to parallel build.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-20 14:48:59 +00:00
Felix Fietkau b480498d1b fix libtool fixup for libstdc++
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 17:46:11 +00:00
Felix Fietkau 48edb47057 fix compile errors by forcing bash to be used as a shell in all submake processes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 13:32:47 +00:00
Felix Fietkau e045698909 speed up the ipkg build process some more by reordering commands
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:46 +00:00
Felix Fietkau 14be678094 speed up the build system by including include/shell.sh on shell commands only where necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:37 +00:00
Michael Büsch b1b64870a2 Also support parallel build for host-packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 14:23:06 +00:00
Michael Büsch 78ae653e01 Support parallel build of certain packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 13:57:58 +00:00
Lars-Peter Clausen e091bb591e 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-16 09:45:21 +00:00
Gabor Juhos 593cb693bb generic: fix kernel version check for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 21:07:23 +00:00
Florian Fainelli 4b4642a57c [kernel] add 2.6.35 md5sum
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 20:00:35 +00:00
Lars-Peter Clausen aab5464b30 Add kernel_nconfig make target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 21:36:35 +00:00
Jo-Philipp Wich 4a7b2363a2 [include] support unpacking of .tar.xz archives, no prereq on xzcat for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 21:29:23 +00:00
Jo-Philipp Wich 503d7a462b [buildsystem] revert r22372 and r22405, dependency on host libtool causes problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-28 02:18:16 +00:00
Jo-Philipp Wich fc7a57fa5d [buildsystem] use host opkg for installing packages in buildroot and ImageBuilder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23 19:49:19 +00:00
Felix Fietkau 0bc00cc460 add a build system option for collecting all kernel debug information (including modules) in a tarball
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 15:18:24 +00:00
Imre Kaloz db6751b804 we don't care about the md5sums for -rc kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 11:35:30 +00:00
Imre Kaloz 0b47979d12 update kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 11:34:03 +00:00
Alexandros C. Couloumbis 4ecd145ce0 finalize r22241 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 08:50:19 +00:00
Nicolas Thill 466667bc03 partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external modules in ./packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:01:13 +00:00
Claudio Mignanti 33990405fb massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 14:06:13 +00:00
Hauke Mehrtens 924f0f93f9 kernel: update to kernel 2.6.34.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 22:39:52 +00:00
Felix Fietkau a082943b09 rename target/linux/generic-2.6 to generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:58 +00:00
Felix Fietkau 67fbcc7bd4 remove linux 2.4 specific build system code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:38 +00:00
Felix Fietkau ffbb7d5497 remove linux 2.4 kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:30 +00:00
Jo-Philipp Wich 881cdcaf36 [netfilter] package TPROXY target and module infrastructure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 22:39:22 +00:00
Alexandros C. Couloumbis 15bd904bc2 include/netfilter.mk fix typo on r21795
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 14:51:51 +00:00
Alexandros C. Couloumbis 8c377e08fc include/netfilter.mk: add 2.6.35 kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 14:44:27 +00:00
Alexandros C. Couloumbis bb7d9586c8 generic-2.6: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 05:54:29 +00:00
Nicolas Thill de002a7d39 update linux kernel to 2.6.32.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 18:09:09 +00:00
Hauke Mehrtens 0710ef015d kernel: update kernel to version 2.6.32.13 and 2.6.33.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:16:51 +00:00
Lars-Peter Clausen 00e07cf808 [kernel] Add checksum for 2.6.34, refresh 2.6.34 patches and update targets from 2.6.34-rcX to 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 22:05:07 +00:00
Felix Fietkau 21316a5d49 only build bin packages for the selected build variants (same behaviour as with ipkg builds)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 15:57:00 +00:00
Nicolas Thill f1d6454a21 image/ext2: fix rootfs partition size after [21362]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 06:14:32 +00:00
Nicolas Thill 4ec517b27c buildsystem: add a macro to test options supported by the host compiler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-02 17:22:01 +00:00
Nicolas Thill ba1debe042 include: rearrange image.mk, indent, reorder, change some ifeq/ifneq tests
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-29 00:44:26 +00:00
Nicolas Thill b1c612578a replace old quote stripping with calls to qstrip macro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-29 00:32:44 +00:00
Nicolas Thill 8b1974bdad buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 14:47:43 +00:00
Nicolas Thill f696b88feb images: allow generating .cpio.gz and/or .tar.gz archives whether ramdisk is selected or not
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 14:27:03 +00:00
Alexandros C. Couloumbis 9c40666ff7 sync to kernel 2.6.32.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 14:30:08 +00:00
Alexandros C. Couloumbis bea3cfb0f7 add 2.6.33.3 & 2.6.32.12 kernel checksums
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 08:39:06 +00:00
Gabor Juhos cdf16b5bb0 kernel: refresh patches for 2.6.34-rc5 and update md5sum
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 07:13:21 +00:00
Gabor Juhos a0a67ed366 kernel: refresh patches for 2.6.33.2, and drop md5sum for older 2.6.32 kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 07:12:09 +00:00
Felix Fietkau 934a788454 fix gnu find prereq check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 20:42:09 +00:00
Felix Fietkau da1d443c2c fix timestamp checks for build system paths which have '.svn' in their directory name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 22:21:15 +00:00
Alexandros C. Couloumbis e11f6c9349 don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. switch verbose mode on compresor statistics.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 21:36:58 +00:00
Alexandros C. Couloumbis d120269b31 update kernel checksums
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 20:11:50 +00:00
Alexandros C. Couloumbis 8a70f533b7 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 14:07:22 +00:00
Nicolas Thill 9d42bb1a21 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 23:15:56 +00:00
Nicolas Thill fbb04a3462 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-04 12:35:06 +00:00
Nicolas Thill b163b3fcbc [cosmectic] include/netfilter.mk: move ebtables definitions at the end
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-04 03:43:13 +00:00
Nicolas Thill ef4f1d04ce [include] download.mk: fix bzr download method
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 13:06:19 +00:00
Felix Fietkau a2ec87dfec add a new helper macro to deal with conditional ./configure flags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 03:38:40 +00:00
Felix Fietkau 62c5734bb4 prevent kernel.mk from defining PATCH_DIR and FILES_DIR for regular packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 03:07:54 +00:00
Hauke Mehrtens 5e7275d823 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 19:22:59 +00:00
Gabor Juhos 8e67ddaccc kernel: update to 2.6.32.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:45:25 +00:00
Lars-Peter Clausen 474e2e2ee5 include/target.mk: Only set usb feature flag for a target if there is a HCD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 15:04:44 +00:00
Jo-Philipp Wich 693fc7f10f [include] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 01:21:50 +00:00
Florian Fainelli 6e84b166c4 change from /jffs to /overlay, patch from Daniel Dickinson
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 17:16:50 +00:00
Florian Fainelli a229f681ce [package] disable ucitrigger for now, not used, patch from Dave Kooper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 17:16:45 +00:00
Florian Fainelli 01b98b8f2b fix svn download with older svn client versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-20 17:18:47 +00:00
Florian Fainelli 34109ec127 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-19 13:44:47 +00:00
Markus Wigge eacdd48f66 new kernel checksums:
2.6.32.10
 2.6.33.1


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-16 13:04:03 +00:00
Travis Kemen e70ffc568c 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 21:55:11 +00:00
Nicolas Thill c930e873c4 sort entries in images md5sums files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 04:03:37 +00:00
Travis Kemen 91167603c8 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:19:48 +00:00
Travis Kemen 47a3a62caa 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:15:12 +00:00
Lars-Peter Clausen 221422bfac image.mk: Adjust ubifs build behaviour to that of others image types
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 04:14:03 +00:00
Matteo Croce 7cce85a44a kernel: add 2.6.33 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 15:20:00 +00:00
Hauke Mehrtens 10bdcf0917 kernel: update to kernel 2.6.32.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 10:16:47 +00:00
Felix Fietkau 5f4146c474 add support for marking specific kernel module packages as potentially being required for mounting the rootfs (patch by cshore)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 22:45:54 +00:00
Jo-Philipp Wich b3439cb770 [netfilter] properly package xt_comment.ko (#6742)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 00:23:39 +00:00
Felix Fietkau 031909ed63 remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 23:43:05 +00:00
Lars-Peter Clausen 05c56d8ee4 autotools.mk: Don't try to fixup .la files in the DevInstall host path, because
those .la files shouldn't go there anyway.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-20 23:40:53 +00:00
Travis Kemen 37e505be46 this patch adds support for bzr in include/download.mk, and fixes
whitespace.

-Raphael

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-20 04:48:07 +00:00
Hauke Mehrtens 70335ad165 [brcm-2.4] update kernel to version 2.4.37.9 and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 21:30:10 +00:00
Jo-Philipp Wich 7fc4138b4d [generic-2.4] netfilter: add support for raw table and NOTRACK target (#5504)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 01:36:47 +00:00
Lars-Peter Clausen 141b270ff3 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).



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-18 23:50:44 +00:00
Felix Fietkau a2db2d8773 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-16 21:34:50 +00:00